diff options
Diffstat (limited to 'tests/auto/qgeocodereply/tst_qgeocodereply.cpp')
-rw-r--r-- | tests/auto/qgeocodereply/tst_qgeocodereply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qgeocodereply/tst_qgeocodereply.cpp b/tests/auto/qgeocodereply/tst_qgeocodereply.cpp index e030b090..93edee0a 100644 --- a/tests/auto/qgeocodereply/tst_qgeocodereply.cpp +++ b/tests/auto/qgeocodereply/tst_qgeocodereply.cpp @@ -275,11 +275,11 @@ void tst_QGeocodeReply::viewport() { QGeoCoordinate *qgeocoordinate = new QGeoCoordinate (12.12 , 54.43); - qgeoboundingbox = new QGeoBoundingBox (*qgeocoordinate, 0.5 , 0.5); + qgeoboundingbox = new QGeoRectangle (*qgeocoordinate, 0.5 , 0.5); reply->callSetViewport(*qgeoboundingbox); - QCOMPARE (reply->viewport(), static_cast<const QGeoBoundingArea &>(*qgeoboundingbox)); + QCOMPARE (reply->viewport(), static_cast<const QGeoShape &>(*qgeoboundingbox)); delete qgeocoordinate; delete qgeoboundingbox; |