diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-05-18 11:12:16 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-06-04 14:50:51 +0000 |
commit | 374077292b4be4a03eb8ca9a6eaae41e4de6f942 (patch) | |
tree | 2f56803b02c81337660743720745abe65e923114 /src/location/maps/qgeomap.cpp | |
parent | 2d10f0a06c4aa99257cafb6729034f9f843fb31c (diff) | |
download | qtlocation-374077292b4be4a03eb8ca9a6eaae41e4de6f942.tar.gz |
Fix tile version handling
Here maps plugin checks server for tile version.
When tile version is updated, update not only
the current camera tiles, but also scene tiles.
Task-number: QTBUG-44809
Change-Id: Iedb3add5308a2e61cc18e169e33ea4510e1a4fee
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/location/maps/qgeomap.cpp')
-rw-r--r-- | src/location/maps/qgeomap.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/location/maps/qgeomap.cpp b/src/location/maps/qgeomap.cpp index f6f8d5e2..edc64839 100644 --- a/src/location/maps/qgeomap.cpp +++ b/src/location/maps/qgeomap.cpp @@ -118,12 +118,6 @@ const QGeoMapType QGeoMap::activeMapType() const return d->m_activeMapType; } -QString QGeoMap::pluginString() -{ - Q_D(const QGeoMap); - return d->m_pluginString; -} - QGeoCameraCapabilities QGeoMap::cameraCapabilities() { Q_D(const QGeoMap); @@ -133,11 +127,6 @@ QGeoCameraCapabilities QGeoMap::cameraCapabilities() return QGeoCameraCapabilities(); } -int QGeoMap::mapVersion() -{ - return -1; -} - void QGeoMap::prefetchData() { @@ -152,9 +141,6 @@ QGeoMapPrivate::QGeoMapPrivate(QGeoMappingManagerEngine *engine) m_controller(0), m_activeMapType(QGeoMapType()) { - if (!m_engine.isNull()) { - m_pluginString = m_engine->managerName() + QLatin1Char('_') + QString::number(m_engine->managerVersion()); - } } QGeoMapPrivate::~QGeoMapPrivate() |