summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 07a275c..52acec2 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -4338,14 +4338,11 @@ void ClassDef::writeMemberDeclarations(OutputList &ol,MemberListType lt,const QC
static bool inlineInheritedMembers = Config_getBool("INLINE_INHERITED_MEMB");
if (!inlineInheritedMembers) // show inherited members as separate lists
{
- if (lt!=-1)
- {
- QPtrDict<void> visited(17);
- writeInheritedMemberDeclarations(ol,lt,lt2,title,
- inheritedFrom ? inheritedFrom : this,
- invert,showAlways,
- visitedClasses==0 ? &visited: visitedClasses);
- }
+ QPtrDict<void> visited(17);
+ writeInheritedMemberDeclarations(ol,lt,lt2,title,
+ inheritedFrom ? inheritedFrom : this,
+ invert,showAlways,
+ visitedClasses==0 ? &visited: visitedClasses);
}
}
}