From 210fbd5f252da88d3ae7f191d5b987d793646712 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 9 Apr 2019 10:28:53 +0200 Subject: qdoc: Don't include shared comment nodes in summary sections This caused empty table cells in 'Public Types' for several C++ classes. Task-number: QTBUG-74779 Change-Id: I701967e26955c7807e2f777bb43f67a0ea1c1edb Reviewed-by: Paul Wicking Reviewed-by: Martin Smith --- src/qdoc/sections.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qdoc/sections.cpp') diff --git a/src/qdoc/sections.cpp b/src/qdoc/sections.cpp index 4913f66a5..f7a2bb554 100644 --- a/src/qdoc/sections.cpp +++ b/src/qdoc/sections.cpp @@ -684,6 +684,8 @@ void Sections::buildStdRefPageSections() */ void Sections::distributeNodeInSummaryVector(SectionVector &sv, Node *n) { + if (n->isSharedCommentNode()) + return; if (n->isFunction()) { FunctionNode *fn = static_cast(n); if (fn->hasAssociatedProperties() && !fn->hasActiveAssociatedProperty()) -- cgit v1.2.3