From 6fab85e2de8372029d08c9756b679da69b969ab1 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 4 Sep 2009 08:57:37 +0200 Subject: Prospective SunCC compile fix Call the QScriptValue constructor without class scope. Reviewed-by: Trust me --- src/script/bridge/qscriptqobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/bridge/qscriptqobject.cpp b/src/script/bridge/qscriptqobject.cpp index bd5d161..ecfb060 100644 --- a/src/script/bridge/qscriptqobject.cpp +++ b/src/script/bridge/qscriptqobject.cpp @@ -610,7 +610,7 @@ static JSC::JSValue callQtMethod(JSC::ExecState *exec, QMetaMethod::MethodType c if (i < (int)scriptArgs.size()) actual = engine->scriptValueFromJSCValue(scriptArgs.at(i)); else - actual = QScriptValue::QScriptValue(QScriptValue::UndefinedValue); + actual = QScriptValue(QScriptValue::UndefinedValue); QScriptMetaType argType = mtd.argumentType(i); int tid = -1; QVariant v; -- cgit v0.12