effects/windowview: use correct enum value for PointerDevice

BUG: 482191
This commit is contained in:
Dominique Hummel 2024-03-04 23:14:55 +00:00 committed by Nate Graham
parent 43e5f17547
commit d0a6bd3404

View file

@ -224,7 +224,7 @@ Item {
onDownGestureTriggered: window.closeWindow() onDownGestureTriggered: window.closeWindow()
TapHandler { TapHandler {
acceptedPointerTypes: PointerDevice.GenericPointer | PointerDevice.Pen acceptedPointerTypes: PointerDevice.Generic | PointerDevice.Pen
acceptedButtons: Qt.MiddleButton acceptedButtons: Qt.MiddleButton
onTapped: window.closeWindow(); onTapped: window.closeWindow();
} }