diff options
-rw-r--r-- | src/qdoc/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp index 6618a7e6d..0c4e57f6f 100644 --- a/src/qdoc/node.cpp +++ b/src/qdoc/node.cpp @@ -1877,7 +1877,7 @@ bool ClassNode::docMustBeGenerated() const { if (!hasDoc() || isPrivate() || isInternal() || isDontDocument()) return false; - if (declLocation().fileName().endsWith(QLatin1String("_p.h"))) + if (declLocation().fileName().endsWith(QLatin1String("_p.h")) && !hasDoc()) return false; return true; |