diff options
author | Oleg Shparber <trollixx@gmail.com> | 2014-11-28 01:19:11 -0800 |
---|---|---|
committer | Oleg Shparber <trollixx@gmail.com> | 2014-12-12 03:50:28 +0100 |
commit | f43928f6023f435dfe3e600dd4474cd2c7a92e16 (patch) | |
tree | 34fe7300d47158e655058f7ae09bbc05d81441f7 /src/qml/qml/qqmljavascriptexpression.cpp | |
parent | 87a055bc8eee653a18d51f94a546cd452732223a (diff) |
Add default parameter value for ScopedCallData()
Change-Id: I16b6662a47c682e145d3e2201f9e90f58405a599
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression.cpp')
-rw-r--r-- | src/qml/qml/qqmljavascriptexpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression.cpp b/src/qml/qml/qqmljavascriptexpression.cpp index dad90b77f2..42b10ddc1a 100644 --- a/src/qml/qml/qqmljavascriptexpression.cpp +++ b/src/qml/qml/qqmljavascriptexpression.cpp @@ -110,7 +110,7 @@ QV4::ReturnedValue QQmlJavaScriptExpression::evaluate(QQmlContextData *context, { QV4::ExecutionEngine *v4 = QV8Engine::getV4(context->engine); QV4::Scope scope(v4); - QV4::ScopedCallData callData(scope, 0); + QV4::ScopedCallData callData(scope); return evaluate(context, function, callData, isUndefined); } |