summaryrefslogtreecommitdiffstats
path: root/demos/declarative/samegame/content/BoomBlock.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/samegame/content/BoomBlock.qml')
-rw-r--r--demos/declarative/samegame/content/BoomBlock.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/declarative/samegame/content/BoomBlock.qml b/demos/declarative/samegame/content/BoomBlock.qml
index 34f6f56..b0c297b 100644
--- a/demos/declarative/samegame/content/BoomBlock.qml
+++ b/demos/declarative/samegame/content/BoomBlock.qml
@@ -49,6 +49,7 @@ Item { id:block
PropertyChanges { target: particles; opacity: 1 }
PropertyChanges { target: particles; emitting: false } // i.e. emit only once
PropertyChanges { target: img; opacity: 0 }
+ StateChangeScript { script: block.destroy(1000); }
}
]
}