mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41:16 +01:00
Do not touch the pixmap outside the painter
This commit is contained in:
parent
ce6f03de73
commit
f1396b6eff
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user