summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-08-31 02:41:52 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-08-31 02:46:40 (GMT)
commit3928cb20ecc63ed21cdb122388b200c9ab8e7cad (patch)
treeab05a27ea2b1360e99dd62db787c816b27b81a1a /demos
parentcfc3564328c9545a9eed4aca02f99dac5e0e4390 (diff)
downloadQt-3928cb20ecc63ed21cdb122388b200c9ab8e7cad.zip
Qt-3928cb20ecc63ed21cdb122388b200c9ab8e7cad.tar.gz
Qt-3928cb20ecc63ed21cdb122388b200c9ab8e7cad.tar.bz2
Add 'cached' property to Image.
Task-number: QTBUG-7300 Reviewed-by: Aaron Kennedy
Diffstat (limited to 'demos')
-rw-r--r--demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml b/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml
index dadb409..d1f0755 100644
--- a/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml
+++ b/demos/declarative/photoviewer/PhotoViewerCore/PhotoDelegate.qml
@@ -88,11 +88,11 @@ Package {
}
BusyIndicator { anchors.centerIn: parent; on: originalImage.status != Image.Ready }
Image {
- id: originalImage; smooth: true; source: "http://" + Script.getImagePath(content)
+ id: originalImage; smooth: true; source: "http://" + Script.getImagePath(content); cached: false
fillMode: Image.PreserveAspectFit; width: photoWrapper.width; height: photoWrapper.height
}
Image {
- id: hqImage; smooth: true; source: ""; visible: false
+ id: hqImage; smooth: true; source: ""; visible: false; cached: false
fillMode: Image.PreserveAspectFit; width: photoWrapper.width; height: photoWrapper.height
}
Binding {