diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-10-06 09:38:04 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-10-19 13:32:05 +0200 |
commit | 03b3df668088d0750af6a59410ee4d0d00ba88ae (patch) | |
tree | 4abe79245fb81db4f9a85da89d0cd964cff5c63a /dist | |
parent | 5f6a292bc53b9adf14c0e45a7de226a56449dbca (diff) |
Fix pinch gesture
Pinch gesture on a touchpad is expected to zoom-in and zoom-out. It has
been broken since the pinch gestures are routed because for routing the
event target has to be found. The event target is only tried to be found
on a pinch begin gesture.
As a fix, handle Qt::BeginNativeGesture and Qt::EndNativeGesture events
too.
Fixes: QTBUG-96930
Change-Id: Ic8fe5bee933b5e0fbc8f5ba6234363a0a625648d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit ff54ccc82fdba26cf16b9a64b387e3b428fb3038)
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions