aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4include.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4include.cpp')
-rw-r--r--src/qml/jsruntime/qv4include.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4include.cpp b/src/qml/jsruntime/qv4include.cpp
index df20b2802d..3e04ed63df 100644
--- a/src/qml/jsruntime/qv4include.cpp
+++ b/src/qml/jsruntime/qv4include.cpp
@@ -120,7 +120,7 @@ void QV4Include::callback(const QV4::Value &callback, const QV4::Value &status)
return;
QV4::JSCallData jsCallData(scope, 1);
- jsCallData->thisObject = v4->globalObject->asReturnedValue();
+ *jsCallData->thisObject = v4->globalObject->asReturnedValue();
jsCallData->args[0] = status;
f->call(jsCallData);
if (scope.hasException())