diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-08-19 10:47:03 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-08-19 10:47:03 (GMT) |
commit | c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f (patch) | |
tree | 636bbc0c46bdc380ff7364cd768e831830815946 /tools/qdoc3 | |
parent | 91f47532111927c7b8d5cd9981ded7bc0c203d88 (diff) | |
download | Qt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.zip Qt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.tar.gz Qt-c0fa797ba33f0d15be1ba5d4b3587f47ccb02f0f.tar.bz2 |
qdoc3: Added more pagewords & elements to the search index.
Task-nr: QTBUG-11113
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index 6fbc2a9..f3390de 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -4436,6 +4436,9 @@ bool HtmlGenerator::generatePageElement(QXmlStreamWriter& writer, if (node->isInnerNode()) { const InnerNode* inner = static_cast<const InnerNode*>(node); + if (!inner->pageKeywords().isEmpty()) + pageWords << inner->pageKeywords(); + switch (node->type()) { case Node::Fake: { @@ -4463,9 +4466,6 @@ bool HtmlGenerator::generatePageElement(QXmlStreamWriter& writer, pageWords << title; break; } - - if (!inner->pageKeywords().isEmpty()) - pageWords << inner->pageKeywords(); } else { switch (node->type()) { |