Fix opening context menus

This commit is contained in:
Tobias Fella
2023-09-13 15:48:39 +02:00
parent 5e80715898
commit 399151eb1d
2 changed files with 0 additions and 2 deletions

View File

@@ -559,7 +559,6 @@ ColumnLayout {
} }
TapHandler { TapHandler {
acceptedDevices: PointerDevice.Mouse
acceptedButtons: Qt.RightButton acceptedButtons: Qt.RightButton
onTapped: root.openContextMenu() onTapped: root.openContextMenu()
} }

View File

@@ -156,7 +156,6 @@ QQC2.ToolBar {
TapHandler { TapHandler {
acceptedButtons: Qt.RightButton | Qt.LeftButton acceptedButtons: Qt.RightButton | Qt.LeftButton
acceptedDevices: PointerDevice.Mouse
onTapped: (eventPoint, button) => { onTapped: (eventPoint, button) => {
// TODO Qt6 remove // TODO Qt6 remove
if (!button) { if (!button) {