1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-03 13:09:10 +02:00

Code cleanup

This commit is contained in:
Martin Tůma 2025-02-11 09:13:09 +01:00
parent 5df43d3fb5
commit 398ef2c4f5

View File

@ -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));
@ -284,7 +283,6 @@ void RasterTile::drawSectorLights(QPainter *painter,
painter->drawArc(rect, 0, 360 * 16); painter->drawArc(rect, 0, 360 * 16);
} }
} }
}
} }
static void removeDuplicitLabel(QList<TextItem *> &labels, const QString &text, static void removeDuplicitLabel(QList<TextItem *> &labels, const QString &text,