diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-11-06 19:00:58 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-11-06 19:00:58 (GMT) |
commit | be602ee76006d9b8b0f6e5e75114f2ce34f7773e (patch) | |
tree | 0a8fa55f942d3a0e2f845bc77e6a357b9fb1c1c7 /src/layout.cpp | |
parent | 8a48f6c3f4827171edf41a40bfdbc03e53d9be6b (diff) | |
download | Doxygen-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.cpp | 5 |
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" }, |