mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +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);
|
||||
else {
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user