summaryrefslogtreecommitdiff
path: root/tests/auto/qgeopath/tst_qgeopath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qgeopath/tst_qgeopath.cpp')
-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 213af0ad..47badf73 100644
--- a/tests/auto/qgeopath/tst_qgeopath.cpp
+++ b/tests/auto/qgeopath/tst_qgeopath.cpp
@@ -182,7 +182,7 @@ void tst_QGeoPath::path()
QCOMPARE(p.path().contains(c), true);
}
- p.clear();
+ p.clearPath();
QCOMPARE(p.path().size(), 0);
QVERIFY(p.boundingGeoRectangle().isEmpty());
}