From 2d3a55bd847616a9b666531795d3b99e5c78a56a Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Wed, 31 Aug 2011 15:08:49 -0300 Subject: AbstractMetaBuilder fixed to set base container type correctly in meta class' type entry. --- abstractmetabuilder.cpp | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.3