1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 11:52:08 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2024-11-24 09:09:45 +01:00
parent 7d2bbfe12a
commit 8a3808248a

View File

@ -98,8 +98,8 @@ void RasterTile::processLabels(const QList<MapData::Point> &points,
for (int j = 0; j < labels.size(); j++) {
const Style::TextRender *ri = labels.at(j);
if (ri->rule().match(point.center(), point.tags)) {
const QByteArray *lbl;
if ((lbl = label(ri->key(), point.tags))) {
const QByteArray *lbl = label(ri->key(), point.tags);
if (lbl) {
if (!si) {
ti = ri;
ll.append(lbl);