summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-27 13:59:29 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-27 13:59:29 (GMT)
commit56fcd260014ddcc7b9b62116bbd11bd8340d6c90 (patch)
tree130b978d118294cbebd38d67f4b5e614406f36ca
parentd094e377dc78bf7107d25e74b8977b355709541c (diff)
Fix regression: some groundlayers were being painted over structures
fixup for bc13e500f7a12d14e6d5300591964882e1d53a9b
-rw-r--r--src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp b/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
index 382f05b..39a10c8 100644
--- a/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
+++ b/src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp
@@ -52,7 +52,7 @@ GeoPolygonGraphicsItem::GeoPolygonGraphicsItem(const GeoDataFeature *feature, co
setZValue(zValue() + elevation);
}
- const QString paintLayer = QLatin1String("Polygon/%1") + StyleBuilder::visualCategoryName(visualCategory);
+ const QString paintLayer = QLatin1String("Polygon/") + StyleBuilder::visualCategoryName(visualCategory);
setPaintLayers(QStringList() << paintLayer);
}
}
@@ -82,7 +82,7 @@ GeoPolygonGraphicsItem::GeoPolygonGraphicsItem(const GeoDataFeature *feature, co
setZValue(zValue() + elevation);
}
- const QString paintLayer = QLatin1String("Polygon/%1") + StyleBuilder::visualCategoryName(visualCategory);
+ const QString paintLayer = QLatin1String("Polygon/") + StyleBuilder::visualCategoryName(visualCategory);
setPaintLayers(QStringList() << paintLayer);
}
}