diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-05-06 13:02:34 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-05-06 14:53:57 (GMT) |
commit | c06c9ecf3f37ca8ff8a4be14c9f4e1c2e483250a (patch) | |
tree | b049e3d40f2d9fc5dad9575b45119dca8027429f /src | |
parent | 932f0b32eb22fbd7d3dcbbd69740457f65ab5d1a (diff) | |
download | Qt-c06c9ecf3f37ca8ff8a4be14c9f4e1c2e483250a.zip Qt-c06c9ecf3f37ca8ff8a4be14c9f4e1c2e483250a.tar.gz Qt-c06c9ecf3f37ca8ff8a4be14c9f4e1c2e483250a.tar.bz2 |
QDBusXmlGenerator: get the true name from QMetaType for the return type
Diffstat (limited to 'src')
-rw-r--r-- | src/dbus/qdbusxmlgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/qdbusxmlgenerator.cpp b/src/dbus/qdbusxmlgenerator.cpp index 9c25d82..463ac73 100644 --- a/src/dbus/qdbusxmlgenerator.cpp +++ b/src/dbus/qdbusxmlgenerator.cpp @@ -160,7 +160,7 @@ static QString generateInterfaceXml(const QMetaObject *mo, int flags, int method // do we need to describe this argument? if (QDBusMetaType::signatureToType(typeName) == QVariant::Invalid) xml += QString::fromLatin1(" <annotation name=\"com.trolltech.QtDBus.QtTypeName.Out0\" value=\"%1\"/>\n") - .arg(typeNameToXml(mm.typeName())); + .arg(typeNameToXml(QVariant::typeToName(QVariant::Type(typeId)))); } else continue; } |