diff options
Diffstat (limited to 'examples/quick/particles')
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/particles/system/content/dynamicemitters.qml b/examples/quick/particles/system/content/dynamicemitters.qml index 226e6de870..8eb87d2baa 100644 --- a/examples/quick/particles/system/content/dynamicemitters.qml +++ b/examples/quick/particles/system/content/dynamicemitters.qml @@ -138,7 +138,7 @@ Rectangle { } MouseArea { anchors.fill: parent - onClicked: customEmit(mouse.x, mouse.y); + onClicked: (mouse)=> customEmit(mouse.x, mouse.y); } Text { diff --git a/examples/quick/particles/system/content/startstop.qml b/examples/quick/particles/system/content/startstop.qml index cf9ad3d79d..a9ef7285aa 100644 --- a/examples/quick/particles/system/content/startstop.qml +++ b/examples/quick/particles/system/content/startstop.qml @@ -63,7 +63,7 @@ Rectangle { MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button == Qt.LeftButton) particles.running = !particles.running else diff --git a/examples/quick/particles/system/content/timedgroupchanges.qml b/examples/quick/particles/system/content/timedgroupchanges.qml index 9865d3294e..cab992f898 100644 --- a/examples/quick/particles/system/content/timedgroupchanges.qml +++ b/examples/quick/particles/system/content/timedgroupchanges.qml @@ -88,7 +88,7 @@ Rectangle { duration: 1000 Affector { once: true - onAffected: worksEmitter.burst(400,x,y) + onAffected: (x, y)=> worksEmitter.burst(400,x,y) } } //! [2] |