mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Wrong parameters usage fix
This commit is contained in:
parent
daa9d296bd
commit
dcedfe1e9f
@ -622,7 +622,7 @@ void OfflineMap::drawImage(QPainter *painter, const QRectF &rect)
|
|||||||
painter->fillRect(rect, Qt::white);
|
painter->fillRect(rect, Qt::white);
|
||||||
else {
|
else {
|
||||||
QRect r(rect.toRect());
|
QRect r(rect.toRect());
|
||||||
painter->drawImage(rect.left(), rect.top(), *_img, r.left(), r.top(),
|
painter->drawImage(r.left(), r.top(), *_img, r.left(), r.top(),
|
||||||
r.width(), r.height());
|
r.width(), r.height());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user