summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/qmlcomponent
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-24 01:06:11 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-24 01:06:11 (GMT)
commitd2d9bf98c81cc6004b30bd5468728516511dcec1 (patch)
tree00144e8517a5f9aae9af457094c54d2312abd20f /tests/benchmarks/declarative/qmlcomponent
parent9c6472491c9d5ac23696767388bdeb8337e2e0ee (diff)
downloadQt-d2d9bf98c81cc6004b30bd5468728516511dcec1.zip
Qt-d2d9bf98c81cc6004b30bd5468728516511dcec1.tar.gz
Qt-d2d9bf98c81cc6004b30bd5468728516511dcec1.tar.bz2
Get qmlcomponent benchmark running after name changes.
Diffstat (limited to 'tests/benchmarks/declarative/qmlcomponent')
-rw-r--r--tests/benchmarks/declarative/qmlcomponent/samegame/BoomBlock.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/benchmarks/declarative/qmlcomponent/samegame/BoomBlock.qml b/tests/benchmarks/declarative/qmlcomponent/samegame/BoomBlock.qml
index 8a505da..7860cf4 100644
--- a/tests/benchmarks/declarative/qmlcomponent/samegame/BoomBlock.qml
+++ b/tests/benchmarks/declarative/qmlcomponent/samegame/BoomBlock.qml
@@ -42,13 +42,13 @@ Item { id:block
states: [
State{ name: "AliveState"; when: spawned == true && dying == false
- SetProperties { target: img; opacity: 1 }
+ PropertyChanges { target: img; opacity: 1 }
},
State{ name: "DeathState"; when: dying == true
- SetProperties { target: particles; count: 50 }
- SetProperties { target: particles; opacity: 1 }
- SetProperties { target: particles; emitting: false } // i.e. emit only once
- SetProperties { target: img; opacity: 0 }
+ PropertyChanges { target: particles; count: 50 }
+ PropertyChanges { target: particles; opacity: 1 }
+ PropertyChanges { target: particles; emitting: false } // i.e. emit only once
+ PropertyChanges { target: img; opacity: 0 }
}
]
}