summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-24 05:23:23 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-24 05:23:23 (GMT)
commit8848b63187cf1b073891bdd6998273a8869bb033 (patch)
tree08e9934d033c474c5cb03e2dfbf277be90d62c9f /examples
parent915ab7d8c75a190003db97bc0a92656ee65f5b4b (diff)
downloadQt-8848b63187cf1b073891bdd6998273a8869bb033.zip
Qt-8848b63187cf1b073891bdd6998273a8869bb033.tar.gz
Qt-8848b63187cf1b073891bdd6998273a8869bb033.tar.bz2
Add an "asynchonous" property to Image.
Allows loading/decoding local images in an asynchronous thread (already the case for network images).
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/scrollbar/display.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/scrollbar/display.qml b/examples/declarative/scrollbar/display.qml
index 536a8b7..a96db6e 100644
--- a/examples/declarative/scrollbar/display.qml
+++ b/examples/declarative/scrollbar/display.qml
@@ -10,6 +10,7 @@ Rectangle {
Image {
id: picture
source: "pics/niagara_falls.jpg"
+ asynchronous: true
}
viewportWidth: picture.width
viewportHeight: picture.height