aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-12-31 10:37:47 -0800
committerOleg Shparber <trollixx@gmail.com>2015-01-03 23:29:57 +0100
commit2fe82c505d09fdf372f1d4c5992a3a0b0dc98f33 (patch)
tree3961702f98d9f553e4c90e9eb074a8096c48ad05 /src/qml/jsapi
parent4a9ed3de7d92809cf575f245f55d4f422b4983c3 (diff)
Use QV4::ScopedObject typedef instead of actual type
Change-Id: I0b68c534ea513a7c230b12114f6b42b069f9864b Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsapi')
-rw-r--r--src/qml/jsapi/qjsvalue.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/jsapi/qjsvalue.cpp b/src/qml/jsapi/qjsvalue.cpp
index a18c544e14..4cfae02e9a 100644
--- a/src/qml/jsapi/qjsvalue.cpp
+++ b/src/qml/jsapi/qjsvalue.cpp
@@ -689,10 +689,10 @@ QJSValue QJSValue::prototype() const
if (!engine)
return QJSValue();
QV4::Scope scope(engine);
- Scoped<Object> o(scope, d->value.asObject());
+ ScopedObject o(scope, d->value.asObject());
if (!o)
return QJSValue();
- Scoped<Object> p(scope, o->prototype());
+ ScopedObject p(scope, o->prototype());
if (!p)
return QJSValue(NullValue);
return new QJSValuePrivate(o->internalClass()->engine, p);
@@ -930,7 +930,7 @@ void QJSValue::setProperty(const QString& name, const QJSValue& value)
return;
Scope scope(engine);
- Scoped<Object> o(scope, d->value);
+ ScopedObject o(scope, d->value);
if (!o)
return;
@@ -972,7 +972,7 @@ void QJSValue::setProperty(quint32 arrayIndex, const QJSValue& value)
return;
Scope scope(engine);
- Scoped<Object> o(scope, d->value);
+ ScopedObject o(scope, d->value);
if (!o)
return;