summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-12-17 12:49:27 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-12-17 12:54:43 (GMT)
commit7698c6d25fb1e017a84ec67c08eb4c3dc3568515 (patch)
tree90228e026378788124a0cf942466d37f816dbe20 /src/xml
parent91cc7d1dabfd5f42db45bedefad78a63e63c4dc8 (diff)
downloadQt-7698c6d25fb1e017a84ec67c08eb4c3dc3568515.zip
Qt-7698c6d25fb1e017a84ec67c08eb4c3dc3568515.tar.gz
Qt-7698c6d25fb1e017a84ec67c08eb4c3dc3568515.tar.bz2
Doc: setFeature snippet was in the wrong place
Reviewed-by: Niels Weber
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/sax/qxml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 0a87412..27ec3bd 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -3063,11 +3063,11 @@ void QXmlSimpleReaderPrivate::initIncrementalParsing()
Aspects of the parsing behavior can be adapted using setFeature()
and setProperty().
+ \snippet doc/src/snippets/code/src_xml_sax_qxml.cpp 0
+
QXmlSimpleReader is not reentrant. If you want to use the class
in threaded code, lock the code using QXmlSimpleReader with a
locking mechanism, such as a QMutex.
-
- \snippet doc/src/snippets/code/src_xml_sax_qxml.cpp 0
*/
static inline bool is_S(QChar ch)