summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgeopath/tst_qgeopath.cpp2
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());
}