From a098d2025ec645ed902eb777a52778d665fbe845 Mon Sep 17 00:00:00 2001 From: David Boddie Date: Tue, 15 Feb 2011 20:41:26 +0100 Subject: Ensured that variables are scanned when generating the help index. Style option classes with obsolete variables had no obsolete pages in the compiled help files because, without other obsolete members to represent them, those pages were not added to the help project. --- tools/qdoc3/helpprojectwriter.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/qdoc3/helpprojectwriter.cpp b/tools/qdoc3/helpprojectwriter.cpp index f2e2f04..949507f 100644 --- a/tools/qdoc3/helpprojectwriter.cpp +++ b/tools/qdoc3/helpprojectwriter.cpp @@ -350,6 +350,14 @@ bool HelpProjectWriter::generateSection(HelpProject &project, } break; + case Node::Variable: + { + QString location = HtmlGenerator::fullDocumentLocation(node); + project.files.insert(location.left(location.lastIndexOf(QLatin1Char('#')))); + project.keywords.append(keywordDetails(node)); + } + break; + // Fake nodes (such as manual pages) contain subtypes, titles and other // attributes. case Node::Fake: { -- cgit v0.12