diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-24 05:23:23 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-24 05:23:23 (GMT) |
commit | 8848b63187cf1b073891bdd6998273a8869bb033 (patch) | |
tree | 08e9934d033c474c5cb03e2dfbf277be90d62c9f /examples/declarative/scrollbar | |
parent | 915ab7d8c75a190003db97bc0a92656ee65f5b4b (diff) | |
download | Qt-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/declarative/scrollbar')
-rw-r--r-- | examples/declarative/scrollbar/display.qml | 1 |
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 |