diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 03:51:00 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 03:51:00 (GMT) |
commit | ef1356dba047467ab1c8ae3de389117383cacbbc (patch) | |
tree | 282338baa980a44425d6a30cc4698fc33df50737 /demos/declarative/flickr | |
parent | 11214b3cfbf890df00de5a90c143b61477a0a8c6 (diff) | |
download | Qt-ef1356dba047467ab1c8ae3de389117383cacbbc.zip Qt-ef1356dba047467ab1c8ae3de389117383cacbbc.tar.gz Qt-ef1356dba047467ab1c8ae3de389117383cacbbc.tar.bz2 |
Update XmlListModel status to be in line with other QML objects that
load from the network.
Diffstat (limited to 'demos/declarative/flickr')
-rw-r--r-- | demos/declarative/flickr/flickr-desktop.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/flickr-mobile.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/declarative/flickr/flickr-desktop.qml b/demos/declarative/flickr/flickr-desktop.qml index 5effc42..fca7e31 100644 --- a/demos/declarative/flickr/flickr-desktop.qml +++ b/demos/declarative/flickr/flickr-desktop.qml @@ -106,7 +106,7 @@ Item { Image { source: "common/pics/background.png"; anchors.fill: parent } RssModel { id: RssModel; tags : TagsEdit.text } - Loading { anchors.centerIn: parent; visible: RssModel.status } + Loading { anchors.centerIn: parent; visible: RssModel.status == 2 } GridView { id: PhotoGridView; model: RssModel; delegate: PhotoDelegate; cacheBuffer: 100 diff --git a/demos/declarative/flickr/flickr-mobile.qml b/demos/declarative/flickr/flickr-mobile.qml index a4692a3..47aea32 100644 --- a/demos/declarative/flickr/flickr-mobile.qml +++ b/demos/declarative/flickr/flickr-mobile.qml @@ -13,7 +13,7 @@ Item { Image { source: "mobile/images/stripes.png"; fillMode: "Tile"; anchors.fill: parent; opacity: 0.3 } Common.RssModel { id: RssModel } - Common.Loading { anchors.centerIn: parent; visible: RssModel.status } + Common.Loading { anchors.centerIn: parent; visible: RssModel.status == 2 } Item { id: Views |