diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-04-21 08:11:22 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-04-24 10:49:34 +0200 |
commit | 7b9b44d8f45c57df1393960807497bd7286d3471 (patch) | |
tree | cd81aae90c9c6f2540003eed3de2f3247e803924 /src/quick/scenegraph/qsgrhisupport.cpp | |
parent | ec707b03c62efa8e50aa17f84d2f8d175269c96d (diff) |
Fix crashes when dragging
In QQuickWindowPrivate::sendFilteredPointerEventImpl(),
it appears that the mouse event of the QQuickPointerMouseEvent
can be reset in childMouseEventFilter(), causing a crash
in QQuickPointerMouseEvent::isPressEvent().
Add checks QQuickPointerMouseEvent to fix this.
Fixes: QTBUG-83411
Change-Id: I45f7406de4363974fc6adcac2999cdf55a0c84a7
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgrhisupport.cpp')
0 files changed, 0 insertions, 0 deletions