summaryrefslogtreecommitdiffstats
path: root/demos/declarative/flickr/content/Loading.qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-04 01:54:14 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-04 01:54:14 (GMT)
commit0288e838e9d2ab80cea65134861692cc09f528fb (patch)
tree27bcaf0b9acb9efb17d1d9fd39efe4e94eb918d2 /demos/declarative/flickr/content/Loading.qml
parent5ee5a67cfb74a3b6d0e1fc781352302e7216cbef (diff)
downloadQt-0288e838e9d2ab80cea65134861692cc09f528fb.zip
Qt-0288e838e9d2ab80cea65134861692cc09f528fb.tar.gz
Qt-0288e838e9d2ab80cea65134861692cc09f528fb.tar.bz2
Only run loading animation when visible.
Diffstat (limited to 'demos/declarative/flickr/content/Loading.qml')
-rw-r--r--demos/declarative/flickr/content/Loading.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/flickr/content/Loading.qml b/demos/declarative/flickr/content/Loading.qml
index cf27e38..7488a66 100644
--- a/demos/declarative/flickr/content/Loading.qml
+++ b/demos/declarative/flickr/content/Loading.qml
@@ -1,6 +1,6 @@
Image {
id: Loading; source: "pics/loading.png"; transformOrigin: "Center"
rotation: NumericAnimation {
- id: "RotationAnimation"; from: 0; to: 360; running:true; repeat: true; duration: 900
+ id: "RotationAnimation"; from: 0; to: 360; running: Loading.visible == true; repeat: true; duration: 900
}
}