aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/doxygenparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/doxygenparser.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/doxygenparser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/doxygenparser.cpp b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
index 723a5f022..92040dfc5 100644
--- a/sources/shiboken6/ApiExtractor/doxygenparser.cpp
+++ b/sources/shiboken6/ApiExtractor/doxygenparser.cpp
@@ -126,8 +126,9 @@ void DoxygenParser::fillDocumentation(AbstractMetaClass* metaClass)
// properties
if (func->isPropertyReader() || func->isPropertyWriter()
|| func->isPropertyResetter()) {
+ const auto prop = metaClass->propertySpecs().at(func->propertySpecIndex());
query += QLatin1String("[@kind=\"property\"]/memberdef/name[text()=\"")
- + func->propertySpec()->name() + QLatin1String("\"]");
+ + prop.name() + QLatin1String("\"]");
isProperty = true;
} else { // normal methods
QString kind = getSectionKindAttr(func);