diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-22 15:19:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-22 15:19:56 (GMT) |
commit | 185d6abdc832e7dd66183a2154a13a546414b96f (patch) | |
tree | 2e37e5d4a6d3250e5b0d5ca02c3e57ba4458ed41 /src/doxygen.cpp | |
parent | 982fce9e021e5359ec2572cbbb815a47bc822e70 (diff) | |
download | Doxygen-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.cpp | 4 |
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()); |