diff options
author | albert-github <albert.tests@gmail.com> | 2018-12-30 18:16:48 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-12-30 18:16:48 (GMT) |
commit | f85ee48c3ddd6afe68cf8693d09626e7e68c1035 (patch) | |
tree | 50f9514c3aa70f2530841fbfbbb07734cf619a77 /src | |
parent | 1ef6dd1d4accefe87d0941a429eef5f1fdb9cf73 (diff) | |
download | Doxygen-f85ee48c3ddd6afe68cf8693d09626e7e68c1035.zip Doxygen-f85ee48c3ddd6afe68cf8693d09626e7e68c1035.tar.gz Doxygen-f85ee48c3ddd6afe68cf8693d09626e7e68c1035.tar.bz2 |
issue #6716 mainpage notitle causes notitle to appear in index bar
The "notitle" was still shown at the botton page index bar in case of TreeView and in other cases in the top index bar.
Diffstat (limited to 'src')
-rw-r--r-- | src/definition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index fbf5be8..276d02f 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1739,7 +1739,8 @@ QCString Definition::navigationPathAsString() const } else if (definitionType()==Definition::TypePage && !((const PageDef*)this)->title().isEmpty()) { - result+="<a class=\"el\" href=\"$relpath^"+getOutputFileBase()+Doxygen::htmlFileExtension+"\">"+ + if ((this==Doxygen::mainPage && mainPageHasTitle()) || this!=Doxygen::mainPage) + result+="<a class=\"el\" href=\"$relpath^"+getOutputFileBase()+Doxygen::htmlFileExtension+"\">"+ convertToHtml(((const PageDef*)this)->title())+"</a>"; } else if (definitionType()==Definition::TypeClass) |