diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-31 15:08:49 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:19 -0300 |
commit | 2d3a55bd847616a9b666531795d3b99e5c78a56a (patch) | |
tree | c53c3b7f4df50e9d1b0be47582b73852b79ec1df | |
parent | da35e24a6c8eee2f42646a50186ef776e211c167 (diff) |
AbstractMetaBuilder fixed to set base container type correctly in meta class' type entry.
-rw-r--r-- | abstractmetabuilder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp index f310aad..12c0aeb 100644 --- a/abstractmetabuilder.cpp +++ b/abstractmetabuilder.cpp @@ -1519,6 +1519,9 @@ bool AbstractMetaBuilder::setupInheritance(AbstractMetaClass *metaClass) metaClass->typeEntry()->setBaseContainerType(templ->typeEntry()); return true; } + ComplexTypeEntry* baseContainerType = types->findContainerType(baseName); + if (baseContainerType) + metaClass->typeEntry()->setBaseContainerType(baseContainerType); } ReportHandler::warning(QString("template baseclass '%1' of '%2' is not known") |