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:
parent
741b1fcfa3
commit
606c21526a
@ -172,7 +172,7 @@ public:
|
||||
bool correctionEnabled;
|
||||
QRect keyboardRect;
|
||||
QString preedit;
|
||||
QWeakPointer<QWindow> window;
|
||||
QPointer<QWindow> window;
|
||||
QMaliitPlatformInputContext *q;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user