summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abstractmetabuilder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index f310aad4..12c0aebd 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")