diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-12-15 14:26:09 +1000 |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2010-12-15 17:21:08 +1000 |
commit | be60c76188abf64c85eb46193fbd179588f4c128 (patch) | |
tree | 508d90858ec86f612392988c9d18849e2ab17d8a | |
parent | e7d6bddc17bf42d9efc2e7fd23f206db084471d4 (diff) |
Correct inaccurate document gallery qml snippet.
The name of the element was incorrect, and some of the properties used
have since been changed.
Reviewed-by: Jonas Rabbe
-rw-r--r-- | doc/src/plugins/qml-gallery.qdoc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/src/plugins/qml-gallery.qdoc b/doc/src/plugins/qml-gallery.qdoc index 0abc06f1ba..df4f28c06a 100644 --- a/doc/src/plugins/qml-gallery.qdoc +++ b/doc/src/plugins/qml-gallery.qdoc @@ -98,11 +98,9 @@ ... - model: DocumentGalleryQueryModel { - gallery: DocumentGallery {} - - itemType: "Image" - properties: ["thumbnailImage"] + model: DocumentGalleryModel { + rootType: DocumentGallery.Image + properties: ["url"] filter: GalleryWildcardFilter { property: "fileName"; value: "*.jpg"; |