Use QPointer, not QWeakPointer.

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>
This commit is contained in:
Thiago Macieira 2012-06-14 15:03:33 +02:00 committed by Qt by Nokia
parent 741b1fcfa3
commit 606c21526a

View File

@ -172,7 +172,7 @@ public:
bool correctionEnabled;
QRect keyboardRect;
QString preedit;
QWeakPointer<QWindow> window;
QPointer<QWindow> window;
QMaliitPlatformInputContext *q;
};