summaryrefslogtreecommitdiffstats
path: root/src/location/maps/MapView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/MapView.qml')
-rw-r--r--src/location/maps/MapView.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/location/maps/MapView.qml b/src/location/maps/MapView.qml
index 70d2105e..5ee96f63 100644
--- a/src/location/maps/MapView.qml
+++ b/src/location/maps/MapView.qml
@@ -103,9 +103,10 @@ Item {
}
WheelHandler {
id: wheel
- // workaround for QTBUG-87646 / QTBUG-112394:
+ // workaround for QTBUG-87646 / QTBUG-112394 / QTBUG-112432:
// Magic Mouse pretends to be a trackpad but doesn't work with PinchHandler
- acceptedDevices: Qt.platform.pluginName === "cocoa"
+ // and we don't yet distinguish mice and trackpads on Wayland either
+ acceptedDevices: Qt.platform.pluginName === "cocoa" || Qt.platform.pluginName === "wayland"
? PointerDevice.Mouse | PointerDevice.TouchPad
: PointerDevice.Mouse
onWheel: (event) => {