QDoc: Don't put ditamaps in index file.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Fri, 1 Jun 2012 07:44:55 +0000 (09:44 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jun 2012 18:34:31 +0000 (20:34 +0200)
Change-Id: Id3ceb05d3c9c4424b767222850237755080b9879
Reviewed-by: Martin Smith <martin.smith@nokia.com>
src/tools/qdoc/tree.cpp

index 82d1327..1bf3618 100644 (file)
@@ -1357,7 +1357,7 @@ bool Tree::generateIndexSection(QXmlStreamWriter& writer,
                                 Node* node,
                                 bool generateInternalNodes)
 {
-    if (!node->url().isEmpty())
+    if (!node->url().isEmpty() || node->subType() == Node::DitaMap)
         return false;
 
     QString nodeName;