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 f145050f17..a9095ffcf7 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1242,7 +1242,7 @@ void __qmljs_builtin_setup_arguments_object(ExecutionContext *ctx, Value *result assert(ctx->type >= ExecutionContext::Type_CallContext); CallContext *c = static_cast<CallContext *>(ctx); ArgumentsObject *args = new (c->engine->memoryManager) ArgumentsObject(c); - args->prototype = c->engine->objectPrototype; + args->setPrototype(c->engine->objectPrototype); *result = Value::fromObject(args); } |