summaryrefslogtreecommitdiffstats
path: root/src/qhp.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/qhp.cpp
parent0ce3aea886f4e95da56d164b3944fd54d3d68f89 (diff)
downloadDoxygen-52445a98210e9aa50b3fd4bb36995e117539e490.zip
Doxygen-52445a98210e9aa50b3fd4bb36995e117539e490.tar.gz
Doxygen-52445a98210e9aa50b3fd4bb36995e117539e490.tar.bz2
Release-1.8.1.2
Diffstat (limited to 'src/qhp.cpp')
-rw-r--r--src/qhp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qhp.cpp b/src/qhp.cpp
index 86da674..0d55227 100644
--- a/src/qhp.cpp
+++ b/src/qhp.cpp
@@ -160,10 +160,12 @@ void Qhp::finalize()
void Qhp::incContentsDepth()
{
m_sectionLevel++;
+ //printf("Qhp::incContentsDepth() %d->%d\n",m_sectionLevel-1,m_sectionLevel);
}
void Qhp::decContentsDepth()
{
+ //printf("Qhp::decContentsDepth() %d->%d\n",m_sectionLevel,m_sectionLevel-1);
if (m_sectionLevel <= 0)
{
return;
@@ -177,6 +179,7 @@ void Qhp::addContentsItem(bool /*isDir*/, const char * name,
bool /* addToNavIndex */,
Definition * /*def*/)
{
+ //printf("Qhp::addContentsItem(%s) %d\n",name,m_sectionLevel);
// Backup difference before modification
int diff = m_prevSectionLevel - m_sectionLevel;
@@ -282,7 +285,7 @@ void Qhp::handlePrevSection()
if (m_prevSectionTitle.isNull())
{
- return;
+ m_prevSectionTitle=" "; // should not happen...
}
// We skip "Main Page" as our extra root is pointing to that