mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed QT4 build
This commit is contained in:
parent
297177ad41
commit
aa3579c0be
@ -428,12 +428,13 @@ void IMGMap::processShields(QList<IMG::Poly> &lines, const QRect &tileRect,
|
||||
map.insert(l.length(), j);
|
||||
}
|
||||
|
||||
QMap<qreal, int>::const_iterator jt = map.constBegin();
|
||||
|
||||
TextPointItem *item = new TextPointItem(
|
||||
p.at(map.first()).toPoint(), &(sp.value(it.key())->text()),
|
||||
p.at(jt.value()).toPoint(), &(sp.value(it.key())->text()),
|
||||
poiFont(), 0, &shieldColor, shieldBgColor(it.key().type()));
|
||||
|
||||
bool valid = false;
|
||||
QMap<qreal, int>::const_iterator jt = map.constBegin();
|
||||
while (true) {
|
||||
if (!item->collides(textItems)
|
||||
&& tileRect.contains(item->boundingRect().toRect())) {
|
||||
|
Loading…
Reference in New Issue
Block a user