summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc
diff options
context:
space:
mode:
Diffstat (limited to 'generators/qtdoc')
-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 b33e878..f5f5626 100644
--- a/generators/qtdoc/qtdocgenerator.cpp
+++ b/generators/qtdoc/qtdocgenerator.cpp
@@ -1349,7 +1349,7 @@ void QtDocGenerator::finishGeneration()
s << ".. module:: " << it.key() << endl << endl;
- QString title = packageName() + " contents";
+ QString title = it.key() + " contents";
s << title << endl;
s << createRepeatedChar(title.length(), '*') << endl << endl;
s << ".. toctree::" << endl;