diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-09-04 06:57:37 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-09-04 10:41:02 (GMT) |
commit | 6fab85e2de8372029d08c9756b679da69b969ab1 (patch) | |
tree | 77e32a3ea0fb970709154d85ae3996a28eb1e1de /src | |
parent | c39c4a561e5aa65eb50df3936f41ee9d76c6929a (diff) | |
download | Qt-6fab85e2de8372029d08c9756b679da69b969ab1.zip Qt-6fab85e2de8372029d08c9756b679da69b969ab1.tar.gz Qt-6fab85e2de8372029d08c9756b679da69b969ab1.tar.bz2 |
Prospective SunCC compile fix
Call the QScriptValue constructor without class scope.
Reviewed-by: Trust me
Diffstat (limited to 'src')
-rw-r--r-- | src/script/bridge/qscriptqobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |