1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-12-01 07:01:16 +01:00

Do not touch the pixmap outside the painter

This commit is contained in:
Martin Tůma 2021-04-15 09:40:31 +02:00
parent ce6f03de73
commit f1396b6eff

View File

@ -228,7 +228,7 @@ void RasterTile::drawPaths(QPainter *painter)
if (lri && ri != lri) { if (lri && ri != lri) {
painter->drawPixmap(_xy, layer); painter->drawPixmap(_xy, layer);
layer.fill(Qt::transparent); lp.fillRect(QRect(_xy, _pixmap.size()), Qt::transparent);
} }
lri = ri; lri = ri;