summaryrefslogtreecommitdiffstats
path: root/tests/auto/dbus/qdbusmarshall/common.h
diff options
context:
space:
mode:
authorJędrzej Nowacki <jedrzej.nowacki@nokia.com>2012-02-10 12:21:25 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-27 12:47:52 +0100
commit51f2a0c3318549a6f9388e3d4920eb23a60f8b7b (patch)
treef25f66a07b4d4320978909aa069c5251d11145ca /tests/auto/dbus/qdbusmarshall/common.h
parent1a49a529ee3e721ea8736bd0c34a0086a2dbad4d (diff)
Cleanup usage of QVariant::Type.
QVariant::Type is marked as obsolete. It is not possible to get rid of it completely, in a source compatible way, but at least we can remove it safely from a method arguments list. Change-Id: I26b58099bfa6d32f3a583a8ae0047f0bb36bcd0d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/dbus/qdbusmarshall/common.h')
-rw-r--r--tests/auto/dbus/qdbusmarshall/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/dbus/qdbusmarshall/common.h b/tests/auto/dbus/qdbusmarshall/common.h
index 87c434b71e..025641531d 100644
--- a/tests/auto/dbus/qdbusmarshall/common.h
+++ b/tests/auto/dbus/qdbusmarshall/common.h
@@ -581,7 +581,7 @@ bool compareToArgument(const QDBusArgument &arg, const QVariant &v2)
qWarning() << "Unexpected QVariant type" << v2.userType()
<< QByteArray(QDBusMetaType::typeToSignature(v2.userType()))
- << QVariant::typeToName(QVariant::Type(v2.userType()));
+ << QMetaType::typeName(v2.userType());
return false;
}