From d6837e9ca301e7b6c792e3d24db14fb7bab2db60 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 11 Sep 2013 14:47:34 +0200 Subject: Rename QV4::ValueScope to QV4::Scope The class is going to be used all over the place, so let's give it a short name :) Change-Id: If61543cb2c885e7fbb95c8fc4d0e870097c352ed Reviewed-by: Simon Hausmann --- src/qml/qml/qqmljavascriptexpression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmljavascriptexpression.cpp') 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 { -- cgit v1.2.3