summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:59:25 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:59:25 (GMT)
commit48f64dde600d86d7585140bec3658bb8adc37a45 (patch)
treef70faa0fbd6aeb0e8f37a6655d59ec1e47fb4f67 /examples/declarative
parent1d9f240811e4717d1744756b891e0b3d48a918be (diff)
downloadQt-48f64dde600d86d7585140bec3658bb8adc37a45.zip
Qt-48f64dde600d86d7585140bec3658bb8adc37a45.tar.gz
Qt-48f64dde600d86d7585140bec3658bb8adc37a45.tar.bz2
Use new enum ints (should be ids!)
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/snow/ImageBatch.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml
index 8aa4bb2..edf120e 100644
--- a/examples/declarative/snow/ImageBatch.qml
+++ b/examples/declarative/snow/ImageBatch.qml
@@ -42,8 +42,8 @@ GridView {
width: MyGrid.imageWidth; height: MyGrid.imageHeight;
Image { id: Image; source: url; fillMode: "PreserveAspect"; smooth: true; anchors.fill: parent;
- opacity: (status == 0)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } }
- Loading { anchors.centerIn: parent; visible: Image.status }
+ opacity: (status == 1)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } }
+ Loading { anchors.centerIn: parent; visible: Image.status!=1 }
states: State {
name: "selected"