aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r--abstractmetabuilder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index f310aad4c..12c0aebde 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")