Use QPointer, not QWeakPointer.
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 14 Jun 2012 13:03:33 +0000 (15:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 14 Jun 2012 13:29:07 +0000 (15:29 +0200)
QWeakPointer tracking of QObjects is deprecated.

Change-Id: I1a81a0f9bbe02a6a38a50ab4a50e7c65212fa591
Reviewed-by: Jan Arne Petersen <jpetersen@openismus.com>
Reviewed-by: Michael Hasselmann <michaelh@openismus.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/plugins/platforminputcontexts/maliit/qmaliitplatforminputcontext.cpp

index 882aae2..c325927 100644 (file)
@@ -172,7 +172,7 @@ public:
     bool correctionEnabled;
     QRect keyboardRect;
     QString preedit;
-    QWeakPointer<QWindow> window;
+    QPointer<QWindow> window;
     QMaliitPlatformInputContext *q;
 };