From 831aea1ce1a3f08188bed005d239e367917acf2a Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 2 May 2021 00:59:49 +0200 Subject: [PATCH] qdbus: add support for "aay" (QByteArrayList) (I wish these common mappings were centralized though, so that annotations in the XML file wouldn't be needed) Pick-to: 6.0 6.1 5.15 Change-Id: Ie3e8731e44b6e0338c8a044408c34160cf0a3a1e Reviewed-by: Thiago Macieira --- src/dbus/qdbusmetaobject.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dbus/qdbusmetaobject.cpp b/src/dbus/qdbusmetaobject.cpp index 1026f6429f0..bf42736eabc 100644 --- a/src/dbus/qdbusmetaobject.cpp +++ b/src/dbus/qdbusmetaobject.cpp @@ -220,6 +220,9 @@ QDBusMetaObjectGenerator::findType(const QByteArray &signature, } else if (signature == "a{ss}") { result.name = "QMap"; type = qMetaTypeId >(); + } else if (signature == "aay") { + result.name = "QByteArrayList"; + type = qMetaTypeId(); } else { result.name = "{D-Bus type \"" + signature + "\"}"; type = registerComplexDBusType(result.name);