aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
index bd4f8c064..aadb6a675 100644
--- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
+++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
@@ -414,6 +414,7 @@ void QtDocGenerator::generateClass(TextStream &s, const GeneratorContext &classC
writeInjectDocumentation(s, TypeSystem::DocModificationPrepend, metaClass);
if (!writeInjectDocumentation(s, TypeSystem::DocModificationReplace, metaClass))
writeFormattedDetailedText(s, documentation, scope);
+ writeInjectDocumentation(s, TypeSystem::DocModificationAppend, metaClass);
if (!metaClass->isNamespace())
writeConstructors(s, metaClass, doc.constructors);
@@ -431,8 +432,6 @@ void QtDocGenerator::generateClass(TextStream &s, const GeneratorContext &classC
lastName = func->name();
writeFunction(s, func, metaClass, scope, indexed);
}
-
- writeInjectDocumentation(s, TypeSystem::DocModificationAppend, metaClass);
}
void QtDocGenerator::writeFunctionToc(TextStream &s, const QString &title,