aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/rendernode/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/scenegraph/rendernode/main.qml')
-rw-r--r--examples/quick/scenegraph/rendernode/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/scenegraph/rendernode/main.qml b/examples/quick/scenegraph/rendernode/main.qml
index 2c407796cf..a02fa128d5 100644
--- a/examples/quick/scenegraph/rendernode/main.qml
+++ b/examples/quick/scenegraph/rendernode/main.qml
@@ -66,7 +66,7 @@ Item {
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
- onClicked: {
+ onClicked: (mouse) => {
if (mouse.button === Qt.LeftButton) {
clipper.clip = !clipper.clip
} else if (mouse.button === Qt.RightButton) {