summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-06-04 17:46:13 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-06-04 17:46:13 (GMT)
commitd8197176c24ca1a41af722063bfb6ceeb050442c (patch)
tree85b63b795f663bb71c26c647948a085a3849177d /src/index.cpp
parent3e33c5094f5127c719418656fff8e47d2e19405e (diff)
downloadDoxygen-d8197176c24ca1a41af722063bfb6ceeb050442c.zip
Doxygen-d8197176c24ca1a41af722063bfb6ceeb050442c.tar.gz
Doxygen-d8197176c24ca1a41af722063bfb6ceeb050442c.tar.bz2
Release-1.1.4
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 6ed094a..75edfdd 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -1534,10 +1534,21 @@ void writeIndex(OutputList &ol)
int defLine =
mainPage ? mainPage->defLine : 1;
+ QCString title;
if (!mainPage || mainPage->title.isEmpty())
- ol.startFile("index","Main Index",FALSE);
+ {
+ title = "Main Index";
+ }
else
- ol.startFile("index",mainPage->title,FALSE);
+ {
+ title = mainPage->title;
+ }
+ ol.startFile("index",title,FALSE);
+
+ if (Config::generateHtml && Config::htmlHelpFlag)
+ {
+ HtmlHelp::getInstance()->addContentsItem(title,"index");
+ }
if (!Config::noIndexFlag) writeQuickLinks(ol,TRUE);
ol.startTitleHead(0);