diff options
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystem.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/typesystem.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem.cpp b/sources/shiboken2/ApiExtractor/typesystem.cpp index 575bab4d4..14b47ae8e 100644 --- a/sources/shiboken2/ApiExtractor/typesystem.cpp +++ b/sources/shiboken2/ApiExtractor/typesystem.cpp @@ -133,21 +133,13 @@ struct EnumLookup template <class EnumType, Qt::CaseSensitivity cs> bool operator==(const EnumLookup<EnumType, cs> &e1, const EnumLookup<EnumType, cs> &e2) { -#ifdef QTBUG_69389_FIXED return e1.name.compare(e2.name, cs) == 0; -#else - return QtPrivate::compareStrings(e1.name, e2.name, cs) == 0; -#endif } template <class EnumType, Qt::CaseSensitivity cs> bool operator<(const EnumLookup<EnumType, cs> &e1, const EnumLookup<EnumType, cs> &e2) { -#ifdef QTBUG_69389_FIXED return e1.name.compare(e2.name, cs) < 0; -#else - return QtPrivate::compareStrings(e1.name, e2.name, cs) < 0; -#endif } // Helper macros to define lookup functions that take a QStringView needle @@ -3142,7 +3134,7 @@ AddedFunction::TypeInfo AddedFunction::TypeInfo::fromSignature(const QString& si ComplexTypeEntry::ComplexTypeEntry(const QString &name, TypeEntry::Type t, const QVersionNumber &vr) : - TypeEntry(QString(name).replace(QLatin1String(".*::"), QString()), t, vr), + TypeEntry(name, t, vr), m_qualifiedCppName(name), m_qobject(false), m_polymorphicBase(false), |