mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 13:41:16 +01:00
Code cleanup
This commit is contained in:
parent
ef3da2e156
commit
8b7422b70a
@ -303,8 +303,7 @@ void Atlas::draw(QPainter *painter, const QRectF &rect)
|
|||||||
{
|
{
|
||||||
// All in one map
|
// All in one map
|
||||||
for (int i = _zooms.at(_zoom).first; i <= _zooms.at(_zoom).second; i++) {
|
for (int i = _zooms.at(_zoom).first; i <= _zooms.at(_zoom).second; i++) {
|
||||||
QRectF ir = rect.intersected(_bounds.at(i).second);
|
if (_bounds.at(i).second.contains(rect)) {
|
||||||
if (ir == rect) {
|
|
||||||
draw(painter, rect, i);
|
draw(painter, rect, i);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user