diff options
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index 8187da6556..1dd35fcee2 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -544,7 +544,7 @@ ReturnedValue __qmljs_foreach_iterator_object(ExecutionContext *ctx, const Value Scoped<Object> o(scope, (Object *)0); if (!in->isNullOrUndefined()) o = in; - Scoped<Object> it(scope, ctx->engine->newForEachIteratorObject(ctx, o.getPointer())); + Scoped<Object> it(scope, ctx->engine->newForEachIteratorObject(ctx, o)); return it.asReturnedValue(); } |