aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4runtime.cpp')
-rw-r--r--src/v4/qv4runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4runtime.cpp b/src/v4/qv4runtime.cpp
index fcc2b4f5a1..727aa6e4a8 100644
--- a/src/v4/qv4runtime.cpp
+++ b/src/v4/qv4runtime.cpp
@@ -246,7 +246,7 @@ void __qmljs_in(ExecutionContext *ctx, Value *result, const Value &left, const V
if (!right.isObject())
ctx->throwTypeError();
String *s = left.toString(ctx);
- bool r = right.objectValue()->__hasProperty__(ctx, s);
+ bool r = right.objectValue()->__hasProperty__(s);
*result = Value::fromBoolean(r);
}