summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-12-30 18:16:48 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-12-30 18:16:48 (GMT)
commitf85ee48c3ddd6afe68cf8693d09626e7e68c1035 (patch)
tree50f9514c3aa70f2530841fbfbbb07734cf619a77 /src
parent1ef6dd1d4accefe87d0941a429eef5f1fdb9cf73 (diff)
downloadDoxygen-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.cpp3
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)