summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-25 00:09:17 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-25 00:09:17 (GMT)
commit13d9f49577dd5be8c01792b6d7709c2e9b28aa95 (patch)
tree158d3b0c437fb88a6f103602f1e392c332bb7a0e /examples/declarative/parallax
parent668c9d63d27b2a925c18f3128747c20b37560569 (diff)
downloadQt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.zip
Qt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.tar.gz
Qt-13d9f49577dd5be8c01792b6d7709c2e9b28aa95.tar.bz2
Replace Animation's repeat property with loops.
You can now loop a fixed number of times as well as forever. The old repeat behavior (loop forever) can be acheived with loops: Qt.Infinite.
Diffstat (limited to 'examples/declarative/parallax')
-rw-r--r--examples/declarative/parallax/qml/Smiley.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/parallax/qml/Smiley.qml b/examples/declarative/parallax/qml/Smiley.qml
index 4442d5e..75302a3 100644
--- a/examples/declarative/parallax/qml/Smiley.qml
+++ b/examples/declarative/parallax/qml/Smiley.qml
@@ -25,7 +25,7 @@ Item {
// Animate the y property. Setting repeat to true makes the
// animation repeat indefinitely, otherwise it would only run once.
SequentialAnimation on y {
- repeat: true
+ loops: Qt.Infinite
// Move from minHeight to maxHeight in 300ms, using the OutExpo easing function
NumberAnimation {