summaryrefslogtreecommitdiff
path: root/src/location/qgeolocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/qgeolocation.cpp')
-rw-r--r--src/location/qgeolocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/qgeolocation.cpp b/src/location/qgeolocation.cpp
index 634d72b1..9c13e89c 100644
--- a/src/location/qgeolocation.cpp
+++ b/src/location/qgeolocation.cpp
@@ -177,7 +177,7 @@ void QGeoLocation::setCoordinate(const QGeoCoordinate &coordinate)
Returns a bounding box which represents the recommended region
to display when viewing this location.
*/
-QGeoBoundingBox QGeoLocation::boundingBox() const
+QGeoRectangle QGeoLocation::boundingBox() const
{
return d->viewport;
}
@@ -185,7 +185,7 @@ QGeoBoundingBox QGeoLocation::boundingBox() const
/*!
Sets the \a boundingBox of the location.
*/
-void QGeoLocation::setBoundingBox(const QGeoBoundingBox &boundingBox)
+void QGeoLocation::setBoundingBox(const QGeoRectangle &boundingBox)
{
d->viewport = boundingBox;
}