summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/htmlgenerator.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-11-24 18:31:06 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-11-24 18:31:06 (GMT)
commitf79dfe06afe9aae34e064b5668cc3429f659dd16 (patch)
treefb7ef832f00e13357b11b8fce177f0146d9f3bb1 /tools/qdoc3/htmlgenerator.cpp
parent9830ef3b28502285a9c99ce07985668ad16a636a (diff)
downloadQt-f79dfe06afe9aae34e064b5668cc3429f659dd16.zip
Qt-f79dfe06afe9aae34e064b5668cc3429f659dd16.tar.gz
Qt-f79dfe06afe9aae34e064b5668cc3429f659dd16.tar.bz2
Added the version number to the configuration and fixed the generator.
Now the version number should appear in the documentation again.
Diffstat (limited to 'tools/qdoc3/htmlgenerator.cpp')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index 74db762..b095f23 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -1618,12 +1618,10 @@ void HtmlGenerator::generateHeader(const QString& title,
out() << QString("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"%1\" lang=\"%1\">\n").arg(naturalLanguage);
out() << "<head>\n";
out() << " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
- QString shortVersion;
- shortVersion = project + " " + shortVersion + ": ";
if (node && !node->doc().location().isEmpty())
out() << "<!-- " << node->doc().location().fileName() << " -->\n";
- shortVersion = myTree->version();
+ QString shortVersion = myTree->version();
if (shortVersion.count(QChar('.')) == 2)
shortVersion.truncate(shortVersion.lastIndexOf(QChar('.')));
if (!shortVersion.isEmpty()) {