diff options
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4objectproto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp index 090bc32c93..a4e6b5f49b 100644 --- a/src/qml/jsruntime/qv4objectproto.cpp +++ b/src/qml/jsruntime/qv4objectproto.cpp @@ -408,7 +408,7 @@ ReturnedValue ObjectPrototype::method_toLocaleString(CallContext *ctx) Scoped<FunctionObject> f(scope, o->get(ctx->d()->engine->id_toString)); if (!f) return ctx->engine()->throwTypeError(); - ScopedCallData callData(scope, 0); + ScopedCallData callData(scope); callData->thisObject = o; return f->call(callData); } |