diff --git a/src/map/mapsforge/rastertile.cpp b/src/map/mapsforge/rastertile.cpp index bd79d49d..7195657e 100644 --- a/src/map/mapsforge/rastertile.cpp +++ b/src/map/mapsforge/rastertile.cpp @@ -228,7 +228,7 @@ void RasterTile::drawPaths(QPainter *painter) if (lri && ri != lri) { painter->drawPixmap(_xy, layer); - layer.fill(Qt::transparent); + lp.fillRect(QRect(_xy, _pixmap.size()), Qt::transparent); } lri = ri;