diff options
Diffstat (limited to 'src/qdoc/cppcodeparser.cpp')
-rw-r--r-- | src/qdoc/cppcodeparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qdoc/cppcodeparser.cpp b/src/qdoc/cppcodeparser.cpp index 0a1ee6461..74ae8a9ed 100644 --- a/src/qdoc/cppcodeparser.cpp +++ b/src/qdoc/cppcodeparser.cpp @@ -579,7 +579,8 @@ void CppCodeParser::processMetaCommand(const Doc &doc, 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()->name().isEmpty() && + !node->parent()->isNamespace() && !node->parent()->isHeader()) { if (!doc.isInternal()) { doc.location().warning(tr("Invalid '\\%1' ('%2' must be global)") |