summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2020-03-11 12:22:42 +0100
committerPaul Wicking <paul.wicking@qt.io>2020-03-26 10:51:28 +0100
commit920ffd21b15f79c47cc18b69344a90836e100005 (patch)
tree5e11aa65a009dbe87f63d96d14ca0c0c5f9ccfb0
parent9a3c1a3ef004bdd948524afc37050a617a6e4823 (diff)
QDoc: Remove commented out code
Change-Id: Ie3c74010c62fa6c468732364bd1be77024fcca5b Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--src/qdoc/cppcodeparser.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qdoc/cppcodeparser.cpp b/src/qdoc/cppcodeparser.cpp
index ed12f64c2..065032024 100644
--- a/src/qdoc/cppcodeparser.cpp
+++ b/src/qdoc/cppcodeparser.cpp
@@ -531,7 +531,6 @@ void CppCodeParser::processMetaCommand(const Doc &doc, const QString &command,
doc.location().warning(tr("Invalid '\\%1' not allowed in '\\%2'")
.arg(COMMAND_RELATES, node->nodeTypeString()));
} else if (!node->isRelatedNonmember() &&
- //!node->parent()->name().isEmpty() &&
!node->parent()->isNamespace() && !node->parent()->isHeader()) {
if (!doc.isInternal()) {
doc.location().warning(tr("Invalid '\\%1' ('%2' must be global)")