diff options
author | Topi Reinio <topi.reinio@qt.io> | 2021-01-13 13:16:55 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-14 09:55:50 +0000 |
commit | 5550103da1edcf179203f1bdb667268b9065007b (patch) | |
tree | 847d73e5088a0023c0e1f5f65b0e5b3c10deb33a | |
parent | 4f9dc431b1b905d36b2e8e1f62443a1bc811095a (diff) |
qdoc: Do not add functions from \dontdocument classes to function index
This caused broken links on 'All Functions' page as \dontdocument
classes generate no output.
Change-Id: I9edac8722b1705951328c29b51aa34fcac78e420
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 2393e68dd5b2566a16cd8296fe0493c77eae22cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/qdoc/aggregate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/aggregate.cpp b/src/qdoc/aggregate.cpp index 5440c0f41..698d8773d 100644 --- a/src/qdoc/aggregate.cpp +++ b/src/qdoc/aggregate.cpp @@ -722,7 +722,7 @@ void Aggregate::findAllFunctions(NodeMapMap &functionIndex) } } for (Node *node : qAsConst(m_children)) { - if (node->isAggregate() && !node->isPrivate()) + if (node->isAggregate() && !node->isPrivate() && !node->isDontDocument()) static_cast<Aggregate *>(node)->findAllFunctions(functionIndex); } } |