diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-10-26 11:52:22 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2021-10-26 12:04:34 +0200 |
commit | c61cfa84875442ced136653f3734bbdf249098dc (patch) | |
tree | 1356179291dd793a21b898cb7719e38a2433fe5b /examples | |
parent | e14d13bea68a5bf40a5475e5065651f750d4af04 (diff) |
Fix pointerhandlers/fakeFlickable example
TapHandlerButton is not in this example: we just call it Button.
Amends 8503f884bbdb50c4bebc8f8a9fce05275b0612b1
Pick-to: 6.2
Change-Id: I49bc6081f05642cd938a257c14c10497bfafb8a8
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/pointerhandlers/fakeFlickable.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/pointerhandlers/fakeFlickable.qml b/examples/quick/pointerhandlers/fakeFlickable.qml index 2234a7793a..a601a5fbae 100644 --- a/examples/quick/pointerhandlers/fakeFlickable.qml +++ b/examples/quick/pointerhandlers/fakeFlickable.qml @@ -136,13 +136,13 @@ Rectangle { Row { id: buttonRow spacing: 4 - TapHandlerButton { + Button { text: "⭯" - onClicked: ff.rotation -= 45 + onTapped: ff.rotation -= 45 } - TapHandlerButton { + Button { text: "⭮" - onClicked: ff.rotation += 45 + onTapped: ff.rotation += 45 } } } |