From 6da2067cac4031d9df7ed72c24e29748f5351174 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 10 Oct 2019 13:07:04 +0200 Subject: qdoc: Do not add class to map if isDontDocument() is true This update ensures that if a class node returns true for isDontDocument(), it is not included in the map used for generating the all classes list. This also applies to QML types. Task-number: QTBUG-78940 Change-Id: I020cb0dd2f16187d5f6c75b400778b1518d7e05a Reviewed-by: Paul Wicking Reviewed-by: Martin Smith --- src/qdoc/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qdoc/node.cpp b/src/qdoc/node.cpp index ea6e82536..c840c748d 100644 --- a/src/qdoc/node.cpp +++ b/src/qdoc/node.cpp @@ -3386,7 +3386,7 @@ void Aggregate::findAllObsoleteThings() void Aggregate::findAllClasses() { foreach (Node *n, children_) { - if (!n->isPrivate() && !n->isInternal() && + if (!n->isPrivate() && !n->isInternal() && !n->isDontDocument() && n->tree()->camelCaseModuleName() != QString("QDoc")) { if (n->isClassNode()) { QDocDatabase::cppClasses().insert(n->qualifyCppName().toLower(), n); -- cgit v1.2.3