Skip to content

Commit

Permalink
Quick: Update documentation of TapHandler to reflect renamed enum
Browse files Browse the repository at this point in the history
PointerDevice.GenericPointer was the enum value in Qt5, but in Qt6 this
changed to PointerDevice.Generic

Pick-to: 6.2 6.5
Change-Id: Ic5e4a5fe5fd91f7478d00e0d2c643b99eaa7ab14
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
  • Loading branch information
davidedmundson authored and ec1oud committed May 5, 2023
1 parent feca841 commit aec6193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quick/handlers/qquickpointerdevicehandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void QQuickPointerDeviceHandler::setAcceptedDevices(QPointingDevice::DeviceTypes
Rectangle {
id: rect
TapHandler {
acceptedPointerTypes: PointerDevice.GenericPointer | PointerDevice.Finger | PointerDevice.Pen
acceptedPointerTypes: PointerDevice.Generic | PointerDevice.Finger | PointerDevice.Pen
onTapped: console.log("clicked")
}
TapHandler {
Expand Down

0 comments on commit aec6193

Please sign in to comment.