mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-03 13:09:10 +02:00
Code cleanup
This commit is contained in:
parent
5df43d3fb5
commit
398ef2c4f5
@ -274,7 +274,6 @@ void RasterTile::drawSectorLights(QPainter *painter,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (p->lights.color && p->lights.range) {
|
|
||||||
QRect rect(lightRect(pos, p->lights.range));
|
QRect rect(lightRect(pos, p->lights.range));
|
||||||
|
|
||||||
painter->setPen(QPen(Qt::black, 6, Qt::SolidLine, Qt::FlatCap));
|
painter->setPen(QPen(Qt::black, 6, Qt::SolidLine, Qt::FlatCap));
|
||||||
@ -285,7 +284,6 @@ void RasterTile::drawSectorLights(QPainter *painter,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void removeDuplicitLabel(QList<TextItem *> &labels, const QString &text,
|
static void removeDuplicitLabel(QList<TextItem *> &labels, const QString &text,
|
||||||
const QRectF &tileRect)
|
const QRectF &tileRect)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user