Skip to content
Snippets Groups Projects
Commit cd6334bb authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu
Browse files

qml: accept all devices in playback speed control wheel handler

By default `WheelHandler` only accepts mouse (unlike other handlers
where all devices are accepted by default), and it also does not
make use of synthesized mouse events. We can accept all devices
here, I don't see why we should limit the accepted devices here.

Currently on Wayland certain mouse types are not reported as
"mouse", this is a problem for the wheel functionality of the
playback speed control. Accepting all devices fixes this issue.
parent 258722d7
No related branches found
No related tags found
No related merge requests found
Pipeline #581402 passed with stage
in 23 minutes
......@@ -101,6 +101,8 @@ PopupIconToolButton {
WheelHandler {
orientation: Qt.Vertical | Qt.Horizontal
acceptedDevices: PointerDevice.AllDevices
onWheel: (wheel) => {
if (!root.popup.contentItem || !root.popup.contentItem.slider) {
event.accepted = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment