summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-03-08 13:59:38 +0100
committerTopi Reiniƶ <topi.reinio@qt.io>2019-03-11 21:29:51 +0000
commit177b92c4d499b6ffc5986d7c46c8c3c98d08f130 (patch)
treed929d844e360798affc51b40a00cb11cfcdcc828
parente32eec121c0131aa0ece1ece67a0740baebc41dc (diff)
qdoc: WebXML: Generate output for text page nodesv5.13.0-beta1
Previously page (doc) nodes as well as example pages were aggregates. They no longer are, so we have to check against that specifically in order to generate output for them. Change-Id: If697104f62e3cb8de6caeb7ee758891ebf2fd077 Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r--src/qdoc/webxmlgenerator.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qdoc/webxmlgenerator.cpp b/src/qdoc/webxmlgenerator.cpp
index ec6f2bd2d..9b2b2466a 100644
--- a/src/qdoc/webxmlgenerator.cpp
+++ b/src/qdoc/webxmlgenerator.cpp
@@ -215,7 +215,9 @@ void WebXMLGenerator::generateDocumentation(Node *node)
if (node->isAggregate()) {
Aggregate* aggregate = static_cast<Aggregate*>(node);
for (auto c : aggregate->childNodes()) {
- if ((c->isAggregate() || c->isCollectionNode()) && !c->isPrivate())
+ if ((c->isAggregate() ||
+ c->isTextPageNode() ||
+ c->isCollectionNode()) && !c->isPrivate())
generateDocumentation(c);
}
}