diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2018-09-10 21:55:37 +0200 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2018-09-12 06:12:08 +0000 |
commit | 9e1523f40c6b376829c3eb513a7a5922fc2172ff (patch) | |
tree | b242111167b190d627ae00ec5ae6ae401f862301 /tests | |
parent | 81101e29b7f79f9514dde560ebb8e05f795119f8 (diff) | |
download | qtlocation-9e1523f40c6b376829c3eb513a7a5922fc2172ff.tar.gz |
QGeoPath: fix clear APIv5.12.0-alpha1
Change the clear method name from clearPath to just clear to follow
more closely the other Qt APIs.
Change-Id: I98d4ea43e69e3d365c2c470e9b8b14479f288fe6
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qgeopath/tst_qgeopath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgeopath/tst_qgeopath.cpp b/tests/auto/qgeopath/tst_qgeopath.cpp index 43028427..97bf69fe 100644 --- a/tests/auto/qgeopath/tst_qgeopath.cpp +++ b/tests/auto/qgeopath/tst_qgeopath.cpp @@ -181,7 +181,7 @@ void tst_QGeoPath::path() QCOMPARE(p.path().contains(c), true); } - p.clearPath(); + p.clear(); QCOMPARE(p.path().size(), 0); QVERIFY(p.boundingGeoRectangle().isEmpty()); } |