summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotiledmap.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2015-06-01 11:21:00 +0200
committerMichal Klocek <michal.klocek@theqtcompany.com>2015-06-03 17:53:40 +0000
commit263556ceda91a66073361b5917b9fe5b2c79f84e (patch)
tree8dd8393153adc5da2685168c73346d9b1a3c0219 /src/location/maps/qgeotiledmap.cpp
parent18ee056eec91a6a65a5b3cc481a06bacd108fda9 (diff)
downloadqtlocation-263556ceda91a66073361b5917b9fe5b2c79f84e.tar.gz
Rename setCamera to setCameraData in qgeocameratiles
Keeps the same function name across all classes. Change-Id: I3f8b723ce513e50ea93a3fd1af99c7d2ba79a11d Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeotiledmap.cpp')
-rw-r--r--src/location/maps/qgeotiledmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeotiledmap.cpp b/src/location/maps/qgeotiledmap.cpp
index 60e27d8e..4e635c4b 100644
--- a/src/location/maps/qgeotiledmap.cpp
+++ b/src/location/maps/qgeotiledmap.cpp
@@ -202,7 +202,7 @@ void QGeoTiledMapPrivate::changeCameraData(const QGeoCameraData &oldCameraData)
cam.setZoomLevel(izl);
}
- m_cameraTiles->setCamera(cam);
+ m_cameraTiles->setCameraData(cam);
m_mapScene->setCameraData(cam);
m_mapScene->setVisibleTiles(m_cameraTiles->visibleTiles());