Look for symbols in the base class implementation.

This commit is contained in:
Roberto Raggi
2010-05-12 14:33:21 +02:00
parent 60f76c96e8
commit 9381a3e7d8

View File

@@ -282,6 +282,9 @@ QList<Enum *> ClassOrNamespace::enums() const
QList<Symbol *> ClassOrNamespace::symbols() const
{
if (_templateId && ! _usings.isEmpty())
return _usings.first()->symbols(); // ask to the base implementation
const_cast<ClassOrNamespace *>(this)->flush();
return _symbols;
}