summaryrefslogtreecommitdiffstats
path: root/demos/declarative/minehunt
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-11-05 22:51:39 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-11-05 22:51:39 (GMT)
commit4266b0616bb5d67244173dbe4d9d417dbf4d302f (patch)
tree4d8320dfafe09657fb0e475bd6b36a50c4d79105 /demos/declarative/minehunt
parentec543f79c7d036961eb6cdcd956b3e8ca28b8e54 (diff)
parent96f3abd4df881789bd2677100a2417c96fd2edb4 (diff)
downloadQt-4266b0616bb5d67244173dbe4d9d417dbf4d302f.zip
Qt-4266b0616bb5d67244173dbe4d9d417dbf4d302f.tar.gz
Qt-4266b0616bb5d67244173dbe4d9d417dbf4d302f.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'demos/declarative/minehunt')
-rw-r--r--demos/declarative/minehunt/Explosion.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/declarative/minehunt/Explosion.qml b/demos/declarative/minehunt/Explosion.qml
index a997048..e337c46 100644
--- a/demos/declarative/minehunt/Explosion.qml
+++ b/demos/declarative/minehunt/Explosion.qml
@@ -16,13 +16,10 @@ Item {
velocity: 100
velocityDeviation: 20
z: 100
- opacity: 0
- streamIn: false
+ opacity: 1
}
states: [ State { name: "exploding"; when: explode == true
- PropertyChanges { target: particles; count: 200 }
- PropertyChanges { target: particles; opacity: 1 }
- PropertyChanges { target: particles; emitting: false } // i.e. emit only once
+ StateChangeScript {script: particles.burst(200); }
}
]