aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-03-16 10:49:36 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-16 18:12:28 +0000
commit82719318afb3dc56b391e91beca963a644d013ca (patch)
tree408a212f948df91c6b624489f2eac9c20ee7ee0c
parent017a9099115c97ddec31a4335677ac43e9539b9f (diff)
shiboken6: Fix AbstractMetaClass::fullName() for nested classes
Use the fully qualified name. Task-number: PYSIDE-1520 Change-Id: I58bf8f2d3e1b95947769b725746f560947d25f06 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 3521dfcee8a800927aaf024ab2b64b1402e8256b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetalang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
index 1875bf862..abc939dcf 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
+++ b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
@@ -1057,7 +1057,7 @@ void AbstractMetaClass::getFunctionsFromInvisibleNamespacesToBeGenerated(Abstrac
QString AbstractMetaClass::fullName() const
{
- return package() + QLatin1Char('.') + name();
+ return package() + QLatin1Char('.') + d->m_typeEntry->targetLangName();
}
static void addExtraIncludeForType(AbstractMetaClass *metaClass, const AbstractMetaType &type)