summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/tree.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-22 16:08:00 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-22 16:08:00 (GMT)
commitd468fe4ca99561e9e575edc0e9d99080e93d91a3 (patch)
tree764b5f876498e8bc9523d96cafe280b65661bbcb /tools/qdoc3/tree.cpp
parent035a1416bbe95771649da7e3bfb3ed5c19ab4524 (diff)
downloadQt-d468fe4ca99561e9e575edc0e9d99080e93d91a3.zip
Qt-d468fe4ca99561e9e575edc0e9d99080e93d91a3.tar.gz
Qt-d468fe4ca99561e9e575edc0e9d99080e93d91a3.tar.bz2
Removed unused code.
Diffstat (limited to 'tools/qdoc3/tree.cpp')
-rw-r--r--tools/qdoc3/tree.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/qdoc3/tree.cpp b/tools/qdoc3/tree.cpp
index 540ffa9..9946f0b 100644
--- a/tools/qdoc3/tree.cpp
+++ b/tools/qdoc3/tree.cpp
@@ -591,12 +591,6 @@ void Tree::resolveGroups()
if (fake && fake->subType() == Node::Group) {
fake->addGroupMember(i.value());
}
-#if 0
- else {
- if (prevGroup != i.key())
- i.value()->doc().location().warning(tr("No such group '%1'").arg(i.key()));
- }
-#endif
prevGroup = i.key();
}
@@ -1986,15 +1980,7 @@ QString Tree::fullDocumentLocation(const Node *node) const
else
parentName = fullDocumentLocation(node->parent());
}
-#if 0
- if (node->type() == Node::QmlProperty) {
- qDebug() << "Node::QmlProperty:" << node->name()
- << "parentName:" << parentName;
- if (parentNode)
- qDebug() << "PARENT NODE" << parentNode->type()
- << parentNode->subType() << parentNode->name();
- }
-#endif
+
switch (node->type()) {
case Node::Class:
case Node::Namespace: