diff options
Diffstat (limited to 'sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp')
-rw-r--r-- | sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp index 8aea707fa..fe5964a1f 100644 --- a/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp +++ b/sources/shiboken6/generator/qtdoc/qtdocgenerator.cpp @@ -731,8 +731,8 @@ void QtDocGenerator::writeFunctionParametersType(TextStream &s, const AbstractMe // check if the return type was modified for (const auto &mod : func->modifications()) { for (const ArgumentModification &argMod : mod.argument_mods()) { - if (argMod.index == 0) { - retType = argMod.modified_type; + if (argMod.index() == 0) { + retType = argMod.modifiedType(); break; } } |