summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2017-05-24 16:01:02 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2017-06-13 16:41:31 (GMT)
commit464919adf1cdae9057ff840f40c60472b4c30bfd (patch)
treed4f87e071b139b262f9f88133bad2327ad39d0bb /src
parent84fd1fecfe2de7b4f8c88e1923ef7d5958dc70b0 (diff)
downloadDoxygen-464919adf1cdae9057ff840f40c60472b4c30bfd.zip
Doxygen-464919adf1cdae9057ff840f40c60472b4c30bfd.tar.gz
Doxygen-464919adf1cdae9057ff840f40c60472b4c30bfd.tar.bz2
Add links behind nav entries "Namespaces" and "Files" (matching "Classes")
When layout file has "namespacelist" resp. "filelist" set to visible=no, the files "namespaces.html" resp. "files.html" are still generated, but not reachable. So same fix as done for "classlist" should be used, cmp. 700a9ac3c177fdef25b9b00ed6bb5e0ea963d236 Also gives consistent result & at least in QCH files fix the error message shown when clicking on "Namespaces" or "Files" section titles.
Diffstat (limited to 'src')
-rw-r--r--src/index.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 474424a..9cd1600 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -4122,7 +4122,7 @@ static void writeIndexHierarchyEntries(OutputList &ol,const QList<LayoutNavEntry
{
if (documentedNamespaces>0 && addToIndex)
{
- Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,0,0);
+ Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,lne->baseFile(),0);
Doxygen::indexList->incContentsDepth();
needsClosing=TRUE;
}
@@ -4189,7 +4189,7 @@ static void writeIndexHierarchyEntries(OutputList &ol,const QList<LayoutNavEntry
{
if (documentedHtmlFiles>0 && addToIndex)
{
- Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,0,0);
+ Doxygen::indexList->addContentsItem(TRUE,lne->title(),0,lne->baseFile(),0);
Doxygen::indexList->incContentsDepth();
needsClosing=TRUE;
}