diff options
author | Topi Reinio <topi.reinio@qt.io> | 2019-02-18 13:50:04 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2019-02-19 12:30:38 +0000 |
commit | 6c8d819abf103fee869004a189dba5ebeeef28ec (patch) | |
tree | 21f971b0960015bd6bb713a67c6ca44759b6a666 | |
parent | f008b2dd19f81af91b0fa7ddc7805a6cc0e381a7 (diff) | |
download | qttools-6c8d819abf103fee869004a189dba5ebeeef28ec.tar.gz |
qdoc: Fix duplicate section headers on C++ reference pages
While merging commit 4367cf31 from 5.12 to dev, a section of the code
that was supposed to be deleted was left around. This caused
duplicate <h2> headers and in some cases, invalid HTML output.
Change-Id: I6f535391a06eced97ebd5c03b45ffb2b10f0a89b
Reviewed-by: Martin Smith <martin.smith@qt.io>
-rw-r--r-- | src/qdoc/htmlgenerator.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qdoc/htmlgenerator.cpp b/src/qdoc/htmlgenerator.cpp index c1d242e20..c65d2d3ee 100644 --- a/src/qdoc/htmlgenerator.cpp +++ b/src/qdoc/htmlgenerator.cpp @@ -1527,11 +1527,6 @@ void HtmlGenerator::generateCppReferencePage(Aggregate *aggregate, CodeMarker *m ++s; continue; } - //out() << "<hr />\n"; - if (!s->divClass().isEmpty()) - out() << "<div class=\"" << s->divClass() << "\">\n"; // QTBUG-9504 - out() << "<h2>" << protectEnc(s->title()) << "</h2>\n"; - NodeVector::ConstIterator m = s->members().constBegin(); while (m != s->members().constEnd()) { if ((*m)->access() == Node::Private) { // ### check necessary? |