1
0
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:
Martin Tůma 2017-08-09 20:29:49 +02:00
parent daa9d296bd
commit dcedfe1e9f

View File

@ -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());
} }
} }