From 6493d109304534a9df3898acfad47a0fd3404430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 10 Nov 2024 19:52:24 +0100 Subject: [PATCH] Fixed Qt5 build --- src/map/mapsforge/rastertile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))