summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/main.cpp
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-02-10 13:49:54 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-02-10 13:49:54 (GMT)
commitd44081d5a63cebd05783b343dd4ef364345855ff (patch)
tree1a28bd23db1d4104f7c98797ba349b191e75bb48 /tools/qdoc3/main.cpp
parent2a1bf99770401576f451806b2e2a8c73853ca99b (diff)
downloadQt-d44081d5a63cebd05783b343dd4ef364345855ff.zip
Qt-d44081d5a63cebd05783b343dd4ef364345855ff.tar.gz
Qt-d44081d5a63cebd05783b343dd4ef364345855ff.tar.bz2
qdoc3: Added capability to create qt.pageindex.
Task: QTBUG-7877
Diffstat (limited to 'tools/qdoc3/main.cpp')
-rw-r--r--tools/qdoc3/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/main.cpp b/tools/qdoc3/main.cpp
index 3d0106d..57823fb 100644
--- a/tools/qdoc3/main.cpp
+++ b/tools/qdoc3/main.cpp
@@ -337,8 +337,9 @@ static void processQdocconfFile(const QString &fileName)
Generate the XML tag file, if it was requested.
*/
QString tagFile = config.getString(CONFIG_TAGFILE);
- if (!tagFile.isEmpty())
+ if (!tagFile.isEmpty()) {
tree->generateTagFile(tagFile);
+ }
tree->setVersion("");
Generator::terminate();