summaryrefslogtreecommitdiff
path: root/tests/auto/qgeocoordinate
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-01-09 15:56:26 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-01-15 14:26:14 +0100
commit8d8865a32fb2cdfdd548e8c1c62081f012d0f09a (patch)
tree1606d7822bcd5a13f17e5806540af4579c47adcf /tests/auto/qgeocoordinate
parent01bc25e0d794a2f01104208d965fa45a4c38b945 (diff)
downloadqtlocation-8d8865a32fb2cdfdd548e8c1c62081f012d0f09a.tar.gz
Remove temporary operator< for QtPositioning value types
The operators were added by 8bf0a15bfc124fbb664592d4c3f29973fc23262e. They were required to enable QML comparison of those value types. This requirement was removed by the introduction of QMetaType::registerEqualsComparator() in Qt 5.5. Change-Id: I3950726c26144420157f12b59b9c15cc1f5ffc40 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@digia.com>
Diffstat (limited to 'tests/auto/qgeocoordinate')
-rw-r--r--tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
index a47a75d4..0c960c21 100644
--- a/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
+++ b/tests/auto/qgeocoordinate/tst_qgeocoordinate.cpp
@@ -87,7 +87,7 @@ private slots:
void initTestcase()
{
qRegisterMetaType<QGeoCoordinate>();
- QMetaType::registerComparators<QGeoCoordinate>();
+ QMetaType::registerEqualsComparator<QGeoCoordinate>();
}
void constructor()