diff --git a/src/qdoc/sections.cpp b/src/qdoc/sections.cpp index 8ba71f17ce29347349035d5fc442eb82a20988b7..44eea84eae2d3385abf4d33c6db7573f18727cf8 100644 --- a/src/qdoc/sections.cpp +++ b/src/qdoc/sections.cpp @@ -970,7 +970,10 @@ void Sections::buildStdCppClassRefPageSections() NodeList::ConstIterator c = aggregate_->constBegin(); while (c != aggregate_->constEnd()) { Node *n = *c; - if (!n->isPrivate() && !n->isProperty() && !n->isRelatedNonmember()) + if (!n->isPrivate() + && !n->isProperty() + && !n->isRelatedNonmember() + && !n->isSharedCommentNode()) allMembers.insert(n); if (!documentAll && !n->hasDoc()) { ++c; @@ -997,7 +1000,10 @@ void Sections::buildStdCppClassRefPageSections() c = cn->constBegin(); while (c != cn->constEnd()) { Node *n = *c; - if (!n->isPrivate() && !n->isProperty()) + if (!n->isPrivate() + && !n->isProperty() + && !n->isRelatedNonmember() + && !n->isSharedCommentNode()) allMembers.insert(n); if (!documentAll && !n->hasDoc()) { ++c; @@ -1063,7 +1069,7 @@ void Sections::buildStdQmlTypeRefPageSections() NodeList::ConstIterator c = qtn->constBegin(); while (c != qtn->constEnd()) { Node *n = *c; - if (n->isInternal()) { + if (n->isInternal() || n->isSharedCommentNode()) { ++c; continue; }