summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeotiledmappingmanagerengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeotiledmappingmanagerengine.cpp')
-rw-r--r--src/location/maps/qgeotiledmappingmanagerengine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/location/maps/qgeotiledmappingmanagerengine.cpp b/src/location/maps/qgeotiledmappingmanagerengine.cpp
index 0a7b11b7..3dafc302 100644
--- a/src/location/maps/qgeotiledmappingmanagerengine.cpp
+++ b/src/location/maps/qgeotiledmappingmanagerengine.cpp
@@ -239,12 +239,10 @@ void QGeoTiledMappingManagerEngine::engineTileFinished(const QGeoTileSpec &spec,
tileCache()->insert(spec, bytes, format, d->cacheHint_);
- QSharedPointer<QGeoTileTexture> tile = tileCache()->get(spec);
-
map = maps.constBegin();
mapEnd = maps.constEnd();
for (; map != mapEnd; ++map) {
- (*map)->getRequestManager()->tileFetched(tile);
+ (*map)->getRequestManager()->tileFetched(spec);
}
}