summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeocodereply.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeocodereply.cpp')
-rw-r--r--src/location/maps/qgeocodereply.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeocodereply.cpp b/src/location/maps/qgeocodereply.cpp
index f8b1fb23..c388c61d 100644
--- a/src/location/maps/qgeocodereply.cpp
+++ b/src/location/maps/qgeocodereply.cpp
@@ -186,7 +186,7 @@ QString QGeocodeReply::errorString() const
/*!
Sets the viewport which contains the results to \a viewport.
*/
-void QGeocodeReply::setViewport(const QGeoBoundingArea &viewport)
+void QGeocodeReply::setViewport(const QGeoShape &viewport)
{
d_ptr->viewport = viewport;
}
@@ -197,7 +197,7 @@ void QGeocodeReply::setViewport(const QGeoBoundingArea &viewport)
This function will return 0 if no viewport bias
was specified in the QGeocodingManager function which created this reply.
*/
-QGeoBoundingArea QGeocodeReply::viewport() const
+QGeoShape QGeocodeReply::viewport() const
{
return d_ptr->viewport;
}