diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-06-04 17:46:13 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-06-04 17:46:13 (GMT) |
commit | c6b7c8e7b6760ebfafa40a71eea48d1b46dec477 (patch) | |
tree | 85b63b795f663bb71c26c647948a085a3849177d /src/index.cpp | |
parent | 832e08dcc70203d84f75249583a95fa172492aa2 (diff) | |
download | Doxygen-c6b7c8e7b6760ebfafa40a71eea48d1b46dec477.zip Doxygen-c6b7c8e7b6760ebfafa40a71eea48d1b46dec477.tar.gz Doxygen-c6b7c8e7b6760ebfafa40a71eea48d1b46dec477.tar.bz2 |
Release-1.1.4
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 15 |
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); |