diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 07:02:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-09 07:02:04 (GMT) |
commit | c1e591809975119d87d3f2d7fdb33eda22f0ccd1 (patch) | |
tree | b8ae8c089fd5e4ec7a2aeeb38e8de5429ffa35fc /examples | |
parent | a2fac524ca36e97cba69c1de150a8160f071e340 (diff) | |
download | Qt-c1e591809975119d87d3f2d7fdb33eda22f0ccd1.zip Qt-c1e591809975119d87d3f2d7fdb33eda22f0ccd1.tar.gz Qt-c1e591809975119d87d3f2d7fdb33eda22f0ccd1.tar.bz2 |
Fix snow demo
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index 62f986c..86e11f7 100644 --- a/examples/declarative/snow/ImageBatch.qml +++ b/examples/declarative/snow/ImageBatch.qml @@ -35,14 +35,14 @@ GridView { XmlRole { name: "url"; query: "media:content/@url/string()" } } - Item { + delegate: Item { id: root property bool isSelected: GridView.isCurrentItem && grid.isSelected transformOrigin: "Center" width: grid.imageWidth; height: grid.imageHeight; Image { id: flickrImage; source: url; fillMode: "PreserveAspectFit"; smooth: true; anchors.fill: parent; - opacity: (status == 1)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } } + opacity: (status == Image.Ready)?1:0; /*opacity: Behavior { NumberAnimation { properties: "opacity" } }*/ } Loading { anchors.centerIn: parent; visible: flickrImage.status!=1 } states: State { |