diff options
Diffstat (limited to 'src/v4/qmljs_environment.cpp')
-rw-r--r-- | src/v4/qmljs_environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qmljs_environment.cpp b/src/v4/qmljs_environment.cpp index 67f5994d..8ff93c1b 100644 --- a/src/v4/qmljs_environment.cpp +++ b/src/v4/qmljs_environment.cpp @@ -100,7 +100,7 @@ bool ExecutionContext::hasBinding(String *name) const void ExecutionContext::createMutableBinding(String *name, bool deletable) { if (!activation) - activation = engine->newActivationObject(); + activation = engine->newObject(); if (activation->__hasProperty__(this, name)) return; |