aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--typesystem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/typesystem.cpp b/typesystem.cpp
index 66feacd5..d062655d 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -987,6 +987,7 @@ bool Handler::startElement(const QString &, const QString &n,
TypeSystemTypeEntry* moduleEntry = reinterpret_cast<TypeSystemTypeEntry*>(
m_database->findType(m_defaultPackage));
element->entry = moduleEntry ? moduleEntry : new TypeSystemTypeEntry(m_defaultPackage, since);
+ element->entry->setCodeGeneration(m_generate);
}
if ((m_generate == TypeEntry::GenerateForSubclass ||