Commit fcadeaf1 authored by Dennis Nienhüser's avatar Dennis Nienhüser

Avoid syntactic ambiguity

BUG: 361473
parent 68580165
......@@ -111,7 +111,7 @@ void GeoLineStringGraphicsItem::paintLabel(GeoPainter *painter, const ViewportPa
QPen currentPen = configurePainter(painter, viewport, labelPositionFlags);
if (!( currentPen.widthF() < 2.5f )) {
QPen pen(QColor(Qt::transparent));
QPen pen = QPen(QColor(Qt::transparent));
pen.setWidthF(currentPen.widthF());
painter->setPen(pen);
// Activate the lines below to paint a label background which
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment