aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index fe35fe6193..38a21f87b5 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -2071,8 +2071,7 @@ ReturnedValue ExecutionEngine::callInContext(Function *function, QObject *self,
// use JSCallData to pass arguments into the function call
QV4::JSCallData jsCall(scope, types[0]);
- QQmlEnginePrivate *ep = QQmlEnginePrivate::get(m_qmlEngine);
- QV4::populateJSCallArguments(ep, this, jsCall, args, types);
+ QV4::populateJSCallArguments(this, jsCall, args, types);
QV4::CallData *callData = jsCall->callData();
return function->call(selfValue, callData->argValues<QV4::Value>(), callData->argc(),