summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-10-29 10:34:53 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-10-29 10:34:53 (GMT)
commit08ab82e447a0cac0a48daf900c57127c2ee534d2 (patch)
treed96ea48441101577ab81c41340f3315ee1ecfd07 /tools/qdoc3/htmlgenerator.cpp
parentdafb371f89c14f99082289feba66fa21b28ecd37 (diff)
downloadQt-08ab82e447a0cac0a48daf900c57127c2ee534d2.zip
Qt-08ab82e447a0cac0a48daf900c57127c2ee534d2.tar.gz
Qt-08ab82e447a0cac0a48daf900c57127c2ee534d2.tar.bz2
qdoc: Don't put classes that have empty doc in hierarchy.
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 19b86e0..9ce8522 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -2424,7 +2424,7 @@ void HtmlGenerator::generateClassHierarchy(const Node *relative,
NodeMap newTop;
foreach (const RelatedClass &d, child->derivedClasses()) {
- if (d.access != Node::Private)
+ if (d.access != Node::Private && !d.node->doc().isEmpty())
newTop.insert(d.node->name(), d.node);
}
if (!newTop.isEmpty()) {