diff --git a/src/map/mapsforge/rastertile.cpp b/src/map/mapsforge/rastertile.cpp index a5db6b8c..f013bea5 100644 --- a/src/map/mapsforge/rastertile.cpp +++ b/src/map/mapsforge/rastertile.cpp @@ -199,7 +199,7 @@ void RasterTile::processAreaLabels(const QVector &paths, const QColor *hColor = p.ti ? haloColor(p.ti) : 0; QPainterPath rp; - rp.addRect(_rect.toRectF()); + rp.addRect(_rect); QPointF pos = p.p->path->labelPos.isNull() ? centroid(p.p->pp & rp) : ll2xy(p.p->path->labelPos); if (p.ti && p.lbl && set.contains(*p.lbl))