From d3a6412c66f62aa045f2856b0bf0ede4af10a984 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 1 Dec 2014 16:13:20 +0100 Subject: Remove most of the places where getPointer() is used This is no longer required, and simply uglifies the code Change-Id: Iba91a1d7735ebe23a43437f137a488423b6eb743 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlcontextwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlcontextwrapper.cpp') diff --git a/src/qml/qml/qqmlcontextwrapper.cpp b/src/qml/qml/qqmlcontextwrapper.cpp index a5c1f67532..8d6cc662cb 100644 --- a/src/qml/qml/qqmlcontextwrapper.cpp +++ b/src/qml/qml/qqmlcontextwrapper.cpp @@ -399,7 +399,7 @@ ReturnedValue QmlContextWrapper::idObjectsArray() ExecutionEngine *v4 = engine(); Scope scope(v4); Scoped a(scope, v4->memoryManager->alloc(v4, this)); - d()->idObjectsWrapper = a.getPointer(); + d()->idObjectsWrapper = a; } return d()->idObjectsWrapper->asReturnedValue(); } -- cgit v1.2.3