diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-12-13 22:54:25 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-12-17 06:35:16 (GMT) |
commit | cdd9209590f9c970ea6f9e0c734f0729610ede2a (patch) | |
tree | cc8f1d7c98251c81e611f09fb89e955bf87f2d84 /demos | |
parent | c54443507edf98832c67d727746ae4a130a14571 (diff) | |
download | Qt-cdd9209590f9c970ea6f9e0c734f0729610ede2a.zip Qt-cdd9209590f9c970ea6f9e0c734f0729610ede2a.tar.gz Qt-cdd9209590f9c970ea6f9e0c734f0729610ede2a.tar.bz2 |
Optimization for photoviewer demo.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml b/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml index 856a2c7..6248745 100644 --- a/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml +++ b/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml @@ -61,7 +61,7 @@ Package { BorderImage { anchors { - fill: border.visible ? border : placeHolder + fill: originalImage.status == Image.Ready ? border : placeHolder leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 } source: 'images/box-shadow.png'; smooth: true |