1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-25 16:04:23 +02:00

Fixed tile cache reload issues

This commit is contained in:
2020-03-01 11:43:08 +01:00
parent cc22df3bf2
commit ee24bd54f1
3 changed files with 12 additions and 3 deletions

View File

@ -351,7 +351,6 @@ void MapView::setMap(Map *map)
centerOn(nc);
reloadMap();
QPixmapCache::clear();
}
void MapView::setPOI(POI *poi)
@ -982,7 +981,6 @@ void MapView::setDevicePixelRatio(qreal deviceRatio, qreal mapRatio)
_deviceRatio = deviceRatio;
_mapRatio = mapRatio;
QPixmapCache::clear();
QRectF vr(mapToScene(viewport()->rect()).boundingRect()
.intersected(_map->bounds()));