aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsapi/qjsengine.cpp
diff options
context:
space:
mode:
authorOleg Shparber <trollixx@gmail.com>2014-12-31 10:40:16 -0800
committerOleg Shparber <trollixx@gmail.com>2015-01-03 23:29:51 +0100
commit4a9ed3de7d92809cf575f245f55d4f422b4983c3 (patch)
treedf242fa9aa2895cf451096d2384e8f04ce1d0c70 /src/qml/jsapi/qjsengine.cpp
parent21d481c209692ec73ab6b6bc43e6977fc2f8c2fc (diff)
Use QV4::ScopedArrayObject typedef instead of actual type
Change-Id: I975536745ac6c264aca074f84d223fbec7682d3d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsapi/qjsengine.cpp')
-rw-r--r--src/qml/jsapi/qjsengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsapi/qjsengine.cpp b/src/qml/jsapi/qjsengine.cpp
index 0a90be9cda..b0676c917b 100644
--- a/src/qml/jsapi/qjsengine.cpp
+++ b/src/qml/jsapi/qjsengine.cpp
@@ -343,7 +343,7 @@ QJSValue QJSEngine::newObject()
QJSValue QJSEngine::newArray(uint length)
{
QV4::Scope scope(d->m_v4Engine);
- QV4::Scoped<QV4::ArrayObject> array(scope, d->m_v4Engine->newArrayObject());
+ QV4::ScopedArrayObject array(scope, d->m_v4Engine->newArrayObject());
if (length < 0x1000)
array->arrayReserve(length);
array->setArrayLengthUnchecked(length);