diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-06-22 20:14:03 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-06-22 20:14:03 (GMT) |
commit | 7c0a46b50fad0925e47b78326f8c2e92e3829fb4 (patch) | |
tree | 2f918f7da3205101b2a8a300ee9afefe247b3f24 /src/layout.cpp | |
parent | 7a3de4c3c8aac25c38b6e93bb0927de40cd1c650 (diff) | |
download | Doxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.zip Doxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.tar.gz Doxygen-7c0a46b50fad0925e47b78326f8c2e92e3829fb4.tar.bz2 |
Release-1.5.9-20090622
Diffstat (limited to 'src/layout.cpp')
-rw-r--r-- | src/layout.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/layout.cpp b/src/layout.cpp index ab2c130..1594796 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -758,7 +758,9 @@ class LayoutParser : public QXmlDefaultHandler if (!m_rootNav->find(LayoutNavEntry::MainPage)) { // no MainPage node... add one the first item of the root node... - new LayoutNavEntry(m_rootNav,LayoutNavEntry::MainPage, TRUE, usingTreeIndex() ? "main" : "index",theTranslator->trMainPage(),TRUE); + new LayoutNavEntry(m_rootNav,LayoutNavEntry::MainPage, TRUE, + Config_getBool("GENERATE_TREEVIEW") ? "main" : "index", + theTranslator->trMainPage(),TRUE); } } @@ -776,7 +778,7 @@ class LayoutParser : public QXmlDefaultHandler QCString baseFile; // base name of the file containing the index page } mapping[] = { - { "mainpage", LayoutNavEntry::MainPage, theTranslator->trMainPage(), QCString(), usingTreeIndex() ? "main" : "index" }, + { "mainpage", LayoutNavEntry::MainPage, theTranslator->trMainPage(), QCString(), Config_getBool("GENERATE_TREEVIEW") ? "main" : "index" }, { "pages", LayoutNavEntry::Pages, theTranslator->trRelatedPages(), QCString(), "pages" }, { "modules", LayoutNavEntry::Modules, theTranslator->trModules(), QCString(), "modules" }, { "namespaces", LayoutNavEntry::Namespaces, javaOpt ? theTranslator->trPackages() : |