summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-01-25 12:43:32 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-01-25 12:43:32 (GMT)
commit422514d98ac9a6c4df36caad81e6f315f3b80086 (patch)
treed69f70fb231b57ff5114195604255c9efc3f4890 /src/declarative
parentc53832da5da7ad6cec6e809c30a06c8771bb9885 (diff)
downloadQt-422514d98ac9a6c4df36caad81e6f315f3b80086.zip
Qt-422514d98ac9a6c4df36caad81e6f315f3b80086.tar.gz
Qt-422514d98ac9a6c4df36caad81e6f315f3b80086.tar.bz2
Doc: Fixed broken QML code snippets.
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/util/qdeclarativexmllistmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativexmllistmodel.cpp b/src/declarative/util/qdeclarativexmllistmodel.cpp
index c582df1..6b13e88 100644
--- a/src/declarative/util/qdeclarativexmllistmodel.cpp
+++ b/src/declarative/util/qdeclarativexmllistmodel.cpp
@@ -96,7 +96,9 @@ typedef QPair<int, int> QDeclarativeXmlListRange;
query: "title/string()"
}
}
+ \endqml
+ \qml
ListView {
model: xmlModel
delegate: Text { text: title }