summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-04-14 06:25:19 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-04-14 06:25:19 (GMT)
commit4492df7ff293a5d76b5021bc60e3ba7d5041c303 (patch)
treed2c339663940191e1d54128a7bd3e4f6fa48660f
parente52a73d8c74576e267dcc59d42247bd14131daaf (diff)
downloadQt-4492df7ff293a5d76b5021bc60e3ba7d5041c303.zip
Qt-4492df7ff293a5d76b5021bc60e3ba7d5041c303.tar.gz
Qt-4492df7ff293a5d76b5021bc60e3ba7d5041c303.tar.bz2
Fix GridView.onRemove animation in photoviewer.
-rw-r--r--demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml b/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
index b494651..cd9ecbc 100644
--- a/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
+++ b/demos/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
@@ -79,9 +79,9 @@ Component {
GridView.onAdd: NumberAnimation { target: albumWrapper; properties: "scale"; from: 0.0; to: 1.0 }
GridView.onRemove: SequentialAnimation {
- PropertyAction { target: albumWrapper.GridView; property: "delayRemove"; value: true }
+ PropertyAction { target: albumWrapper; property: "GridView.delayRemove"; value: true }
NumberAnimation { target: albumWrapper; property: "scale"; from: 1.0; to: 0.0 }
- PropertyAction { target: albumWrapper.GridView; property: "delayRemove"; value: false }
+ PropertyAction { target: albumWrapper; property: "GridView.delayRemove"; value: false }
}
transitions: [