aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-12-01 15:53:41 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-20 07:39:48 +0100
commit3dade3b66c886b935e95bb106fa7252320c127b3 (patch)
tree3b84cb343849d8a3950112323296f49b8716abf2 /src/qml
parent9a342ea31bf6fafcb9c056989460a9beae99c486 (diff)
Fix wrong use of Scoped.getPointer()
Change-Id: I5e86afdd3f41055f653a6aa6a144371f6cb99806 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/jsruntime/qv4objectproto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto.cpp b/src/qml/jsruntime/qv4objectproto.cpp
index 75954111c4..e977c748fc 100644
--- a/src/qml/jsruntime/qv4objectproto.cpp
+++ b/src/qml/jsruntime/qv4objectproto.cpp
@@ -448,7 +448,7 @@ ReturnedValue ObjectPrototype::method_isPrototypeOf(CallContext *ctx)
return Encode::undefined();
Scoped<Object> proto(scope, V->prototype());
while (proto) {
- if (O.getPointer() == proto.getPointer())
+ if (O->d() == proto->d())
return Encode(true);
proto = proto->prototype();
}