diff options
author | Lauri Laanmets <lauri.laanmets@eesti.ee> | 2022-05-22 14:37:44 +0300 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2022-09-26 16:06:22 +0200 |
commit | a94cefd446dd192172f47f183b56bbb719e95ee4 (patch) | |
tree | 72ec1bbe76da490919ee2756e1a02418b7d2a378 /src/location/labs/qsg/qmappolygonobjectqsg_p_p.h | |
parent | 51d434233e245cefa0f4cff4d539add5e3923969 (diff) | |
download | qtlocation-a94cefd446dd192172f47f183b56bbb719e95ee4.tar.gz |
Improve QEvent::UngrabMouse handling in map gesture area
Replace deprecated QQuickWindow::mouseGrabberItem() check and pass on all
QEvent::UngrabMouse events into general
'QQuickGeoMapGestureArea::handleTouchEvent' handler. This will handle
'exclusiveGrabber' and 'QEventPoint::Released' events separately for all
points.
This will now correctly handle the situation where child MouseArea:
1. Grabs first touch point with 'press and hold'
2. Second finger is pressed.
3. First finger is released and 'ungrabbed'.
4. Second finger will start panning the map.
Task-number: QTBUG-96795
Change-Id: Ieb3418787e89aadd1a7c0c8ab9b1f965a4484c24
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/location/labs/qsg/qmappolygonobjectqsg_p_p.h')
0 files changed, 0 insertions, 0 deletions