mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-16 07:40:49 +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);
|
map.insert(l.length(), j);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QMap<qreal, int>::const_iterator jt = map.constBegin();
|
||||||
|
|
||||||
TextPointItem *item = new TextPointItem(
|
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()));
|
poiFont(), 0, &shieldColor, shieldBgColor(it.key().type()));
|
||||||
|
|
||||||
bool valid = false;
|
bool valid = false;
|
||||||
QMap<qreal, int>::const_iterator jt = map.constBegin();
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if (!item->collides(textItems)
|
if (!item->collides(textItems)
|
||||||
&& tileRect.contains(item->boundingRect().toRect())) {
|
&& tileRect.contains(item->boundingRect().toRect())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user