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>
This commit is contained in:
parent
e5d5495526
commit
32068cb707
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user