summaryrefslogtreecommitdiffstats
path: root/src/layout.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-11-06 19:00:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-11-06 19:00:58 (GMT)
commitbe602ee76006d9b8b0f6e5e75114f2ce34f7773e (patch)
tree0a8fa55f942d3a0e2f845bc77e6a357b9fb1c1c7 /src/layout.cpp
parent8a48f6c3f4827171edf41a40bfdbc03e53d9be6b (diff)
downloadDoxygen-be602ee76006d9b8b0f6e5e75114f2ce34f7773e.zip
Doxygen-be602ee76006d9b8b0f6e5e75114f2ce34f7773e.tar.gz
Doxygen-be602ee76006d9b8b0f6e5e75114f2ce34f7773e.tar.bz2
Release-1.7.2-20101106
Diffstat (limited to 'src/layout.cpp')
-rw-r--r--src/layout.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/layout.cpp b/src/layout.cpp
index a0b9a6b..f2b3b4a 100644
--- a/src/layout.cpp
+++ b/src/layout.cpp
@@ -769,6 +769,8 @@ class LayoutParser : public QXmlDefaultHandler
bool javaOpt = Config_getBool("OPTIMIZE_OUTPUT_JAVA");
bool fortranOpt = Config_getBool("OPTIMIZE_FOR_FORTRAN");
bool vhdlOpt = Config_getBool("OPTIMIZE_OUTPUT_VHDL");
+ bool hasGraphicalHierarchy = Config_getBool("HAVE_DOT") &&
+ Config_getBool("GRAPHICAL_HIERARCHY");
static struct NavEntryMap
{
const char *typeStr; // type attribute name in the XML file
@@ -799,7 +801,8 @@ class LayoutParser : public QXmlDefaultHandler
theTranslator->trClasses(),
theTranslator->trCompoundList(), "annotated" },
{ "hierarchy", LayoutNavEntry::ClassHierarchy, vhdlOpt ? VhdlDocGen::trDesignUnitHierarchy() :
- theTranslator->trClassHierarchy(), QCString(), "hierarchy" },
+ theTranslator->trClassHierarchy(), QCString(),
+ hasGraphicalHierarchy ? "inherits" : "hierarchy" },
{ "classmembers", LayoutNavEntry::ClassMembers, fortranOpt ? theTranslator->trCompoundMembersFortran() :
vhdlOpt ? VhdlDocGen::trDesignUnitMembers() :
theTranslator->trCompoundMembers(), QCString(), "functions" },