summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-31 14:44:38 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2018-12-31 14:44:38 (GMT)
commit450afb801fe3aa0a9c820070f4b0f00f09e984ea (patch)
tree708e88c7c9214b70c77040906a378427db2e93fe /src
parent36b69fbd6ada3764daad8c7c0b880b6bb3784a48 (diff)
parentf85ee48c3ddd6afe68cf8693d09626e7e68c1035 (diff)
downloadDoxygen-450afb801fe3aa0a9c820070f4b0f00f09e984ea.zip
Doxygen-450afb801fe3aa0a9c820070f4b0f00f09e984ea.tar.gz
Doxygen-450afb801fe3aa0a9c820070f4b0f00f09e984ea.tar.bz2
Merge branch 'feature/issue_6716' of https://github.com/albert-github/doxygen into albert-github-feature/issue_6716
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)