summaryrefslogtreecommitdiffstats
path: root/src/qdoc/node.h
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2019-05-13 14:39:37 +0200
committerJani Heikkinen <jani.heikkinen@qt.io>2019-05-14 04:30:05 +0000
commitbaac552c6822c10b509a1fbb1fae6b3ba9d58af2 (patch)
treedb707f69571a0527a8c78f56ff91a43f78b75e8d /src/qdoc/node.h
parenta8d88cddfcede68f5c9c13adb02e655f0c0bcf21 (diff)
qdoc: Fix \headerfile generation
Commit 72eac2f5 introduced a regression where \headerfile pages never generated any output. Since that commit, Node::docMustBeGenerated() is called for HeaderNodes, and we need to override it; otherwise the default base implementation gets called, and it simply returns false. Fixes: QTBUG-75790 Change-Id: I4932d5ba8dd595ad4d18033f77e62b14b54f8263 Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/qdoc/node.h')
-rw-r--r--src/qdoc/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qdoc/node.h b/src/qdoc/node.h
index 168ff79a4..5d5a90ab0 100644
--- a/src/qdoc/node.h
+++ b/src/qdoc/node.h
@@ -651,6 +651,7 @@ class HeaderNode : public Aggregate
public:
HeaderNode(Aggregate* parent, const QString& name);
virtual ~HeaderNode() { }
+ bool docMustBeGenerated() const override;
bool isFirstClassAggregate() const override { return true; }
bool isRelatableType() const override { return true; }
QString title() const override { return (title_.isEmpty() ? name() : title_); }