Disable opening context menu by right-clicking on mobile

Apparently TapHandlers interpret a tap as a right click, which causes rooms to not open reliably
This commit is contained in:
Tobias Fella
2022-07-11 12:38:57 +02:00
parent 830a47c5ff
commit 51efecaa25

View File

@@ -232,6 +232,7 @@ Kirigami.ScrollablePage {
createRoomListContextMenu()
}
TapHandler {
enabled: !Kirigami.Settings.isMobile
acceptedButtons: Qt.RightButton
onTapped: createRoomListContextMenu()
}