summaryrefslogtreecommitdiffstats
path: root/tests/auto/dbus
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-03-28 00:32:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-03-28 03:18:56 +0200
commit32068cb707bc60d6a74697beaea6fb7cab399bb8 (patch)
tree8213eb00dc8c587f1af7492de5ac3e0922730a94 /tests/auto/dbus
parente5d549552614f89dd73b29fc3ee4710f65bb1e57 (diff)
Remove comment about QVariantList and QVariantMap.
They predate Qt 4.5, but it looks like the comments are indicating that QVariantList and QVariantMap types will use the basic template, but that is not the case. Instead they will use the compare specializations for QList<T> and QMap<T> respectively. Change-Id: Iebf7e9b8aaa8a699ea720090fbf641dfecde0ff7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/dbus')
-rw-r--r--tests/auto/dbus/qdbusmarshall/common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/dbus/qdbusmarshall/common.h b/tests/auto/dbus/qdbusmarshall/common.h
index 025641531d..f4c10c467d 100644
--- a/tests/auto/dbus/qdbusmarshall/common.h
+++ b/tests/auto/dbus/qdbusmarshall/common.h
@@ -350,8 +350,6 @@ QT_END_NAMESPACE
#endif
-//bool compare(const QVariantList &l1, const QVariantList &l2);
-//bool compare(const QVariantMap &m1, const QVariantMap &m2);
template<typename T>
bool compare(const T &t1, const T &t2)
{ return t1 == t2; }