aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4context.cpp')
-rw-r--r--src/qml/jsruntime/qv4context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp
index 03a56cb173..ebe0ce53ea 100644
--- a/src/qml/jsruntime/qv4context.cpp
+++ b/src/qml/jsruntime/qv4context.cpp
@@ -210,7 +210,7 @@ bool ExecutionContext::deleteProperty(String *name)
Scope scope(this);
ScopedObject object(scope, ctx->activation);
if (object && object->hasProperty(name->toPropertyKey()))
- return object->deleteProperty(name);
+ return object->deleteProperty(name->toPropertyKey());
}
break;
}