wasm: Fix assert/crash when tooltip window is closed and mouse moved

Fixes: QTBUG-92521
Pick-to: 5.15 6.2
Change-Id: I627fdcf3064321a3c1cb1140473038571ec78b9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
Lorn Potter 2021-05-20 16:03:55 +10:00
parent 3be72253a6
commit 9a31dada02
1 changed files with 3 additions and 3 deletions

View File

@ -82,9 +82,9 @@ private:
QMap <int, QPointF> pressedTouchIds;
private:
QWindow *draggedWindow;
QWindow *pressedWindow;
QWindow *lastWindow;
QPointer<QWindow> draggedWindow;
QPointer<QWindow> pressedWindow;
QPointer<QWindow> lastWindow;
Qt::MouseButtons pressedButtons;
QWasmWindow::ResizeMode resizeMode;