aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index d9c898a357..aecff0f629 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -1001,7 +1001,7 @@ ReturnedValue Runtime::method_callPossiblyDirectEval(ExecutionEngine *engine, Va
FunctionObject &f = static_cast<FunctionObject &>(callData->function);
if (f.d() == engine->evalFunction()->d())
- return static_cast<EvalFunction &>(f).evalCall(callData, true);
+ return static_cast<EvalFunction &>(f).evalCall(callData.callData(&f), true);
return f.call(&callData->thisObject, callData->args, callData->argc());
}