From 0f2cf9074d4f0220f5c707eed478f99334814789 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 25 Sep 2013 10:09:26 +0200 Subject: Fix CallContext to not hold arguments on the C stack anymore Change-Id: I35f46cce4f243d4b8b2bac9244f8fc26836f413b Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlvaluetypewrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlvaluetypewrapper.cpp') diff --git a/src/qml/qml/qqmlvaluetypewrapper.cpp b/src/qml/qml/qqmlvaluetypewrapper.cpp index 2740d9b269..31c3ba0fac 100644 --- a/src/qml/qml/qqmlvaluetypewrapper.cpp +++ b/src/qml/qml/qqmlvaluetypewrapper.cpp @@ -242,7 +242,7 @@ bool QmlValueTypeWrapper::isEqual(const QVariant& value) ReturnedValue QmlValueTypeWrapper::method_toString(SimpleCallContext *ctx) { - Object *o = ctx->thisObject.asObject(); + Object *o = ctx->callData->thisObject.asObject(); if (!o) ctx->throwTypeError(); QmlValueTypeWrapper *w = o->as(); -- cgit v1.2.3