diff options
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 37cbba0f02..4f67a1dd28 100644 --- a/src/qml/qml/qqmljavascriptexpression.cpp +++ b/src/qml/qml/qqmljavascriptexpression.cpp @@ -163,7 +163,7 @@ QQmlJavaScriptExpression::evaluate(QQmlContextData *context, DeleteWatcher watcher(this); QV4::ExecutionEngine *v4 = QV8Engine::getV4(ep->v8engine()); - QV4::ValueScope scope(v4); + QV4::Scope scope(v4); QV4::ScopedValue result(scope, QV4::Value::undefinedValue()); QV4::ExecutionContext *ctx = v4->current; try { |