diff options
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index 3397e5418b..71327ea806 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -1452,7 +1452,7 @@ ReturnedValue DatePrototype::method_toJSON(const BuiltinFunction *b, CallData *c return v4->throwTypeError(); JSCallData jsCallData(scope); - jsCallData->thisObject = callData->thisObject; + *jsCallData->thisObject = callData->thisObject; return toIso->call(jsCallData); } |