aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectproto.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-11 14:47:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:13:23 +0200
commitd6837e9ca301e7b6c792e3d24db14fb7bab2db60 (patch)
treeb0afdc2e224d8f28ec6f9fb516d0ad2cb63c4908 /src/qml/jsruntime/qv4objectproto.cpp
parent002e6105f61269f1474de878ccdb26205e5b226e (diff)
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 <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
-rw-r--r--src/qml/jsruntime/qv4objectproto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp
index 8cab0d2d12..b851cc3903 100644
--- a/src/qml/jsruntime/qv4objectproto.cpp
+++ b/src/qml/jsruntime/qv4objectproto.cpp
@@ -381,7 +381,7 @@ Value ObjectPrototype::method_toString(SimpleCallContext *ctx)
Value ObjectPrototype::method_toLocaleString(SimpleCallContext *ctx)
{
- ValueScope scope(ctx);
+ Scope scope(ctx);
Object *o = ctx->thisObject.toObject(ctx);
Value ts = o->get(ctx->engine->newString(QStringLiteral("toString")));
FunctionObject *f = ts.asFunctionObject();