diff options
Diffstat (limited to 'addon/xmlgen/xml.cpp')
-rw-r--r-- | addon/xmlgen/xml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/xmlgen/xml.cpp b/addon/xmlgen/xml.cpp index 93c1250..ecb3fce 100644 --- a/addon/xmlgen/xml.cpp +++ b/addon/xmlgen/xml.cpp @@ -329,10 +329,10 @@ void generateXMLForClass(ClassDef *cd,QTextStream &t) } t << " </basecompoundlist>" << endl; } - if (cd->superClasses()->count()>0) + if (cd->subClasses()->count()>0) { t << " <derivedcompoundlist>" << endl; - BaseClassListIterator bcli(*cd->superClasses()); + BaseClassListIterator bcli(*cd->subClasses()); BaseClassDef *bcd; for (bcli.toFirst();(bcd=bcli.current());++bcli) { |