summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2012-02-06 09:14:55 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-07 00:09:23 (GMT)
commitfdda0af131095b0f5479b3fe183bbd0b613cce58 (patch)
treef568fdc659ced5ed8f983bf8cfcd37436a02694d
parentd6de960b7fef462404fbf9770c7106b220e24ef1 (diff)
downloadQt-fdda0af131095b0f5479b3fe183bbd0b613cce58.zip
Qt-fdda0af131095b0f5479b3fe183bbd0b613cce58.tar.gz
Qt-fdda0af131095b0f5479b3fe183bbd0b613cce58.tar.bz2
Remove unnecessary codeblock.
Fixes: QTBUG-24082 Change-Id: I000e397983d3f26b49ffc9cc61f0d4e20583e6ee Reviewed-by: Martin Smith <martin.smith@nokia.com>
-rw-r--r--tools/qdoc3/cppcodeparser.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/qdoc3/cppcodeparser.cpp b/tools/qdoc3/cppcodeparser.cpp
index d434618..0200b91 100644
--- a/tools/qdoc3/cppcodeparser.cpp
+++ b/tools/qdoc3/cppcodeparser.cpp
@@ -700,15 +700,6 @@ Node *CppCodeParser::processTopicCommand(const Doc& doc,
usedNamespaces.insert(path.join("::"));
}
}
-
- if (command == COMMAND_CLASS) {
- if (paths.size() > 1) {
- if (!paths[1].endsWith(".h")) {
- ClassNode* cnode = static_cast<ClassNode*>(node);
- cnode->setQmlElement(paths[1]);
- }
- }
- }
return node;
}
else if (command == COMMAND_EXAMPLE) {