From 2efbf2dbbe1ff65c0624ba05a432d0e0e4a7d92f Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Tue, 6 Nov 2012 13:44:35 +0100 Subject: qdoc: Added module attribute to most index elements The index file generated by qdoc when it is run in -prepare mode has been modified so that most elements have a module attribute. The value of the module attribute either came from an \inmodule command, or it is the value of the project variable specified in the qdocconf file that was read by qdoc. Task number: QTBUG-27626 Change-Id: I44198bbbc1738fafc110c6b905eb1d67bc745323 Reviewed-by: Jerome Pasion --- src/tools/qdoc/cppcodeparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tools/qdoc/cppcodeparser.cpp') diff --git a/src/tools/qdoc/cppcodeparser.cpp b/src/tools/qdoc/cppcodeparser.cpp index d4fe0ff5f75..2fc3a6c477e 100644 --- a/src/tools/qdoc/cppcodeparser.cpp +++ b/src/tools/qdoc/cppcodeparser.cpp @@ -2156,8 +2156,8 @@ bool CppCodeParser::matchDocsAndStuff() while (n != nodes.end()) { processOtherMetaCommands(*d, *n); (*n)->setDoc(*d); - if ((*n)->isInnerNode() && - ((InnerNode *)*n)->includes().isEmpty()) { + checkModuleInclusion(*n); + if ((*n)->isInnerNode() && ((InnerNode *)*n)->includes().isEmpty()) { InnerNode *m = static_cast(*n); while (m->parent() != qdb_->treeRoot()) m = m->parent(); -- cgit v1.2.3