aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-11-28 01:19:11 -0800
committerOleg Shparber <trollixx@gmail.com>2014-12-12 03:50:28 +0100
commitf43928f6023f435dfe3e600dd4474cd2c7a92e16 (patch)
tree34fe7300d47158e655058f7ae09bbc05d81441f7 /src/qml/jsruntime/qv4script.cpp
parent87a055bc8eee653a18d51f94a546cd452732223a (diff)
Add default parameter value for ScopedCallData()
Change-Id: I16b6662a47c682e145d3e2201f9e90f58405a599 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index 3c68cdd433..34daafefdf 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -306,7 +306,7 @@ ReturnedValue Script::run()
} else {
ScopedObject qmlObj(valueScope, qml.value());
ScopedFunctionObject f(valueScope, engine->memoryManager->alloc<QmlBindingWrapper>(scope, vmFunction, qmlObj));
- ScopedCallData callData(valueScope, 0);
+ ScopedCallData callData(valueScope);
callData->thisObject = Primitive::undefinedValue();
return f->call(callData);
}