From f85ee48c3ddd6afe68cf8693d09626e7e68c1035 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 30 Dec 2018 19:16:48 +0100 Subject: 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. --- src/definition.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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+=""+ + if ((this==Doxygen::mainPage && mainPageHasTitle()) || this!=Doxygen::mainPage) + result+=""+ convertToHtml(((const PageDef*)this)->title())+""; } else if (definitionType()==Definition::TypeClass) -- cgit v0.12