summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-09 07:08:57 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-09 07:08:57 (GMT)
commit4c9a504c206ec1c35852107046a1424d468e2978 (patch)
tree3f5efbc0d1413b09175f711595501e828c820722
parent165785ed7ad463100e144467a09708742259836c (diff)
parent3995e86d68b2f9958156da3b51d50609b748d220 (diff)
downloadQt-4c9a504c206ec1c35852107046a1424d468e2978.zip
Qt-4c9a504c206ec1c35852107046a1424d468e2978.tar.gz
Qt-4c9a504c206ec1c35852107046a1424d468e2978.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
-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 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 {