From f825ef2787d495b2aa1a4fd348ec1603d2a2d216 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 29 Jul 2021 15:08:16 +0200 Subject: shiboken6: Fix signature for matching modifications of added/declared functions Fixes warnings: sources/pyside6/PySide6/QtDBus/typesystem_dbus.xml:51: warning: dbus: signature 'call(const QString&,const QVariant&,const QVariant&)' for function modification in 'QDBusAbstractInterface' not found Amends f0ebbfa8b128be39fe618188cad3320987c89051. Change-Id: I680c1501cc9d85eab404b6cba8c6c244b0da9495 Reviewed-by: Qt CI Bot Reviewed-by: Cristian Maureira-Fredes --- sources/shiboken6/ApiExtractor/typesystemparser.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sources/shiboken6/ApiExtractor/typesystemparser.cpp b/sources/shiboken6/ApiExtractor/typesystemparser.cpp index 3d40c3bcb..3f446c273 100644 --- a/sources/shiboken6/ApiExtractor/typesystemparser.cpp +++ b/sources/shiboken6/ApiExtractor/typesystemparser.cpp @@ -2304,6 +2304,9 @@ bool TypeSystemParser::parseAddFunction(const ConditionalStreamReader &, func->setStatic(staticFunction); func->setClassMethod(classMethod); + + // Create signature for matching modifications + signature = TypeDatabase::normalizedSignature(originalSignature); if (!signature.contains(QLatin1Char('('))) signature += QLatin1String("()"); m_currentSignature = signature; -- cgit v1.2.3