https://bugs.kde.org/show_bug.cgi?id=477633

--- Comment #5 from Bharadwaj Raju <bharadwaj.raju...@protonmail.com> ---
Found a "fix", but it's too strange. Connecting to the signal like this works:

void ManagerPrivate::interfacesAdded2(const QDBusObjectPath &objectPath, const
QMap<QString, QMap<QString, QVariant>> &interfaces);
// ...
QDBusConnection::systemBus().connect(QStringLiteral("org.bluez"),
                                         QStringLiteral("/"),
                                        
QStringLiteral("org.freedesktop.DBus.ObjectManager"),
                                         QStringLiteral("InterfacesAdded"),
                                         this,
                                         SLOT(interfacesAdded2(QDBusObjectPath,
QMap<QString, QMap<QString, QVariant>>)));

But not if I use a method with QVariantMapMap in the signature, even though
QVariantMapMap is typedef'd to be exactly that. It's already
Q_DECLARE_METATYPE'd as well.

And for some reason the same QVariantMapMap connect call works in
plasmawindowed but not plasmashell or systemsettings. What could possibly be
different?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to