summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-07-12 15:32:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-07-12 15:32:41 (GMT)
commit52445a98210e9aa50b3fd4bb36995e117539e490 (patch)
tree84ec1ff38937e82a2dfe563fc2d140bc337ffd7f /src/definition.cpp
parent0ce3aea886f4e95da56d164b3944fd54d3d68f89 (diff)
downloadDoxygen-52445a98210e9aa50b3fd4bb36995e117539e490.zip
Doxygen-52445a98210e9aa50b3fd4bb36995e117539e490.tar.gz
Doxygen-52445a98210e9aa50b3fd4bb36995e117539e490.tar.bz2
Release-1.8.1.2
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 1631c16..8e9b0be 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -394,7 +394,9 @@ void Definition::addSectionsToIndex()
Doxygen::indexList.decContentsDepth();
}
}
- Doxygen::indexList.addContentsItem(TRUE,si->title,
+ QCString title = si->title;
+ if (title.isEmpty()) title = si->label;
+ Doxygen::indexList.addContentsItem(TRUE,title,
getReference(),
getOutputFileBase(),
si->label,