aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/particles/itemparticle
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/particles/itemparticle')
-rw-r--r--examples/quick/particles/itemparticle/particleview.qml8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/quick/particles/itemparticle/particleview.qml b/examples/quick/particles/itemparticle/particleview.qml
index 89dcf61a05..14f04309a8 100644
--- a/examples/quick/particles/itemparticle/particleview.qml
+++ b/examples/quick/particles/itemparticle/particleview.qml
@@ -86,7 +86,7 @@ Item {
ImageParticle {
system: sys
groups: ["fireworks"]
- source: "../trails/../images/star.png"
+ source: "qrc:particleresources/star.png"
color: "lightsteelblue"
alpha: 0
colorVariation: 0
@@ -123,8 +123,7 @@ Item {
}
property Item alertItem;
function alert() {
- //resetter.active = false
- force.active = true;
+ force.enabled = true;
alertItem = alertDelegate.createObject(root);
alertItem.x = root.width/2 - alertItem.width/2
alertItem.y = root.height/2 - alertItem.height/2
@@ -139,8 +138,7 @@ Item {
repeat: false
interval: 800
onTriggered: {
- force.active = false
- //resetter.active = true;
+ force.enabled = false;
mp.take(alertItem, true);
centerEmitter.burst(1);
}