use new PointerDevice names

This commit is contained in:
Yari Polla 2023-03-06 22:32:37 +01:00
parent 25e4ef3ab4
commit b866f6b70e
2 changed files with 2 additions and 2 deletions

View file

@ -50,6 +50,6 @@ QQC2.AbstractButton {
HoverHandler { HoverHandler {
id: hoverHandler id: hoverHandler
acceptedDevices: PointerDevice.Mouse acceptedDevices: PointerDevice.Mouse
acceptedPointerTypes: PointerDevice.GenericPointer acceptedPointerTypes: PointerDevice.Generic
} }
} }

View file

@ -189,7 +189,7 @@ Item {
HoverHandler { HoverHandler {
id: hoverHandler id: hoverHandler
acceptedDevices: PointerDevice.Mouse acceptedDevices: PointerDevice.Mouse
acceptedPointerTypes: PointerDevice.GenericPointer acceptedPointerTypes: PointerDevice.Generic
} }
Rectangle { Rectangle {