summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdbusmarshall/common.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-16 14:30:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-04-13 12:56:23 (GMT)
commit376239da147f7954f49e1c18dd53afcd57c3f771 (patch)
tree1ffd1e4d4e18879672fa54bb280beead710758ec /tests/auto/qdbusmarshall/common.h
parent6d325d6f70c419d1fee49da1738633a3e03b46d4 (diff)
downloadQt-376239da147f7954f49e1c18dd53afcd57c3f771.zip
Qt-376239da147f7954f49e1c18dd53afcd57c3f771.tar.gz
Qt-376239da147f7954f49e1c18dd53afcd57c3f771.tar.bz2
Autotest: Test QDBusUnixFileDescriptor support in arrays
Task-number: QTBUG-17477
Diffstat (limited to 'tests/auto/qdbusmarshall/common.h')
-rw-r--r--tests/auto/qdbusmarshall/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qdbusmarshall/common.h b/tests/auto/qdbusmarshall/common.h
index b32b581..dfa5206 100644
--- a/tests/auto/qdbusmarshall/common.h
+++ b/tests/auto/qdbusmarshall/common.h
@@ -475,6 +475,8 @@ bool compareToArgument(const QDBusArgument &arg, const QVariant &v2)
return compare<QList<QDBusObjectPath> >(arg, v2);
else if (id == qMetaTypeId<QList<QDBusSignature> >())
return compare<QList<QDBusSignature> >(arg, v2);
+ else if (id == qMetaTypeId<QList<QDBusUnixFileDescriptor> >())
+ return compare<QList<QDBusUnixFileDescriptor> >(arg, v2);
else if (id == qMetaTypeId<QList<QDateTime> >())
return compare<QList<QDateTime> >(arg, v2);