diff options
Diffstat (limited to 'examples/declarative/particles/trails/overburst.qml')
-rw-r--r-- | examples/declarative/particles/trails/overburst.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/declarative/particles/trails/overburst.qml b/examples/declarative/particles/trails/overburst.qml index ca6bc6dedc..620ae46088 100644 --- a/examples/declarative/particles/trails/overburst.qml +++ b/examples/declarative/particles/trails/overburst.qml @@ -45,7 +45,10 @@ Rectangle{ color: "black" width: 360 height: 540 - ParticleSystem{ id: sys } + ParticleSystem{ + id: sys + onClearChanged: if (clear) sys.pause(); + } ImageParticle{ system: sys id: cp @@ -69,6 +72,7 @@ Rectangle{ } MouseArea{ anchors.fill: parent + onPressed: sys.resume() id: ma } MouseArea{ |