summaryrefslogtreecommitdiffstats
path: root/src/doxygen.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/doxygen.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/doxygen.cpp')
-rw-r--r--src/doxygen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 8facb3f..7353516 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -609,7 +609,7 @@ static void addRelatedPage(EntryNav *rootNav)
{
pd->setBriefDescription(root->brief,root->briefFile,root->briefLine);
pd->addSectionsToDefinition(root->anchors);
- pd->setShowToc(root->localToc, root->localTocLevel);
+ pd->setLocalToc(root->localToc);
addPageToContext(pd,rootNav);
}
}
@@ -8716,7 +8716,7 @@ static void findMainPage(EntryNav *rootNav)
//setFileNameForSections(root->anchors,"index",Doxygen::mainPage);
Doxygen::mainPage->setBriefDescription(root->brief,root->briefFile,root->briefLine);
Doxygen::mainPage->setFileName(indexName);
- Doxygen::mainPage->setShowToc(root->localToc, root->localTocLevel);
+ Doxygen::mainPage->setLocalToc(root->localToc);
addPageToContext(Doxygen::mainPage,rootNav);
SectionInfo *si = Doxygen::sectionDict->find(Doxygen::mainPage->name());