aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-03-02 15:09:38 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2011-03-02 17:02:01 -0300
commit9116cd9f66041733805d60bdf8e9ab61c2d5b016 (patch)
tree95f23f66fb7b6bc8c2f2bec270cdd067e060a773
parent47a40e42e57dee15eed7fc0ce6a3949ca29a2da2 (diff)
Ignore module docs on extras directory when creating the module table of contents.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--generators/qtdoc/qtdocgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/qtdoc/qtdocgenerator.cpp b/generators/qtdoc/qtdocgenerator.cpp
index 3e426fe9..7411ce10 100644
--- a/generators/qtdoc/qtdocgenerator.cpp
+++ b/generators/qtdoc/qtdocgenerator.cpp
@@ -1388,7 +1388,7 @@ void QtDocGenerator::finishGeneration()
// Search for extra-sections
if (!m_extraSectionDir.isEmpty()) {
QDir extraSectionDir(m_extraSectionDir);
- QStringList fileList = extraSectionDir.entryList(QStringList() << (it.key() + "*.rst"), QDir::Files);
+ QStringList fileList = extraSectionDir.entryList(QStringList() << (it.key() + "?*.rst"), QDir::Files);
QStringList::iterator it2 = fileList.begin();
for (; it2 != fileList.end(); ++it2) {
QString origFileName(*it2);