aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-09 11:04:21 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-11-09 12:58:01 +0000
commit46ba821e2c41c12a16ee8eb6e82ee1e65c903cd3 (patch)
tree8cc50a71fe7462348afa8b35ce564d03c64a1609 /sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
parent0a1860ee76cb2600299d51439592c75ab20d0d6f (diff)
shiboken6: Remove AbstractMetaAttributes::Documentation
It does not really belong there; also it was shadowed by AbstractMetaVariable::Documentation. Add it to the inheriting classes instead. Change-Id: Id50344f653b52fa8501162e600879bcc71cd5824 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp')
-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 13d3e5d11..00d366394 100644
--- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
+++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp
@@ -1782,8 +1782,7 @@ void QtDocGenerator::writeFields(QTextStream& s, const AbstractMetaClass* cppCla
const AbstractMetaFieldList &fields = cppClass->fields();
for (AbstractMetaField *field : fields) {
s << section_title << cppClass->fullName() << "." << field->name() << Qt::endl << Qt::endl;
- //TODO: request for member ‘documentation’ is ambiguous
- writeFormattedText(s, field->AbstractMetaAttributes::documentation().value(), cppClass);
+ writeFormattedText(s, field->documentation().value(), cppClass);
}
}