diff options
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index a83edfaed6..05b0ddf753 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1070,7 +1070,8 @@ ReturnedValue Runtime::method_callProperty(ExecutionEngine *engine, Value *base, lookupObject = RuntimeHelpers::convertToObject(engine, *base); if (engine->hasException) // type error return Encode::undefined(); - base = lookupObject; + if (!engine->currentStackFrame->v4Function->isStrict()) + base = lookupObject; } } |
