summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-07-23 12:59:31 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-07-23 12:59:59 (GMT)
commit9ad53e9404889b119f26d0a7bc7c70bf93364e23 (patch)
tree2fc7712c90332510d14539f84eaa3e3f83323745
parent4b25f1c8ac148c190dc150ee2bc97a6615fdf3b1 (diff)
downloadQt-9ad53e9404889b119f26d0a7bc7c70bf93364e23.zip
Qt-9ad53e9404889b119f26d0a7bc7c70bf93364e23.tar.gz
Qt-9ad53e9404889b119f26d0a7bc7c70bf93364e23.tar.bz2
qdoc: Removed obsolete classes from annotated lists.
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index e31f6cf..d82e9f8 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1848,6 +1848,9 @@ HtmlGenerator::generateAnnotatedList(const Node *relative,
foreach (const QString &name, nodeMap.keys()) {
const Node *node = nodeMap[name];
+ if (node->status() == Node::Obsolete)
+ continue;
+
if (++row % 2 == 1)
out() << "<tr valign=\"top\" class=\"odd\">";
else