summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-07-22 15:19:56 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-07-22 15:19:56 (GMT)
commit185d6abdc832e7dd66183a2154a13a546414b96f (patch)
tree2e37e5d4a6d3250e5b0d5ca02c3e57ba4458ed41 /src/index.cpp
parent982fce9e021e5359ec2572cbbb815a47bc822e70 (diff)
downloadDoxygen-185d6abdc832e7dd66183a2154a13a546414b96f.zip
Doxygen-185d6abdc832e7dd66183a2154a13a546414b96f.tar.gz
Doxygen-185d6abdc832e7dd66183a2154a13a546414b96f.tar.bz2
Moved local toc data into a separate type for better encapsulation
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp
index b403de3..3c231fc 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3883,9 +3883,9 @@ static void writeIndex(OutputList &ol)
if (Doxygen::mainPage)
{
Doxygen::insideMainPage=TRUE;
- if (Doxygen::mainPage->showToc() && Doxygen::mainPage->hasSections())
+ if (Doxygen::mainPage->localToc().isHtmlEnabled() && Doxygen::mainPage->hasSections())
{
- Doxygen::mainPage->writeToc(ol,Doxygen::mainPage->showToc(),Doxygen::mainPage->showTocLevel());
+ Doxygen::mainPage->writeToc(ol,Doxygen::mainPage->localToc());
}
ol.startTextBlock();