aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-06 20:33:49 +0200
committerLars Knoll <lars.knoll@qt.io>2017-08-08 18:59:29 +0000
commit3198a246993fb09d12b788f7d1deac9ea094bbba (patch)
treec00a2bd0bf04a52e2dbd642e0dcf2467f3bd2c61 /src/qml/jsruntime/qv4runtime.cpp
parentb9127868a1d5d4c94db836f4285dce5426f6d709 (diff)
Remove unused Scope
Change-Id: Ib6a61ca09571114339b4def65140ae102bcd32df Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index f5a6914182..d310eba434 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -1404,7 +1404,6 @@ ReturnedValue Runtime::method_getQmlContextObjectProperty(ExecutionEngine *engin
ReturnedValue Runtime::method_getQmlIdObject(ExecutionEngine *engine, const Value &c, uint index)
{
- Scope scope(engine);
const QmlContext &qmlContext = static_cast<const QmlContext &>(c);
QQmlContextData *context = *qmlContext.d()->qml()->context;
if (!context || index >= (uint)context->idValueCount)