mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Code cleanup
This commit is contained in:
parent
7d2bbfe12a
commit
8a3808248a
@ -98,8 +98,8 @@ void RasterTile::processLabels(const QList<MapData::Point> &points,
|
|||||||
for (int j = 0; j < labels.size(); j++) {
|
for (int j = 0; j < labels.size(); j++) {
|
||||||
const Style::TextRender *ri = labels.at(j);
|
const Style::TextRender *ri = labels.at(j);
|
||||||
if (ri->rule().match(point.center(), point.tags)) {
|
if (ri->rule().match(point.center(), point.tags)) {
|
||||||
const QByteArray *lbl;
|
const QByteArray *lbl = label(ri->key(), point.tags);
|
||||||
if ((lbl = label(ri->key(), point.tags))) {
|
if (lbl) {
|
||||||
if (!si) {
|
if (!si) {
|
||||||
ti = ri;
|
ti = ri;
|
||||||
ll.append(lbl);
|
ll.append(lbl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user