summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-06 15:47:39 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-06 16:51:17 (GMT)
commitb5dc06f15a453c6bbc264e04f7c148625a83a8a8 (patch)
tree98ecf9e707fb94db5151c07b892bfdd1512a519c
parente908fbc82c2f7a36309c29927e7b142049e5041b (diff)
Let placemark layout render the name (but not the house name or number)
-rw-r--r--src/lib/marble/geodata/graphicsitem/BuildingGeoPolygonGraphicsItem.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/marble/geodata/graphicsitem/BuildingGeoPolygonGraphicsItem.cpp b/src/lib/marble/geodata/graphicsitem/BuildingGeoPolygonGraphicsItem.cpp
index 1a4bbdc..fa8af0a 100644
--- a/src/lib/marble/geodata/graphicsitem/BuildingGeoPolygonGraphicsItem.cpp
+++ b/src/lib/marble/geodata/graphicsitem/BuildingGeoPolygonGraphicsItem.cpp
@@ -160,10 +160,6 @@ double BuildingGeoPolygonGraphicsItem::extractBuildingHeight(const GeoDataPlacem
QString BuildingGeoPolygonGraphicsItem::extractBuildingLabel(const GeoDataPlacemark &placemark)
{
- if (!placemark.name().isEmpty()) {
- return placemark.name();
- }
-
const OsmPlacemarkData &osmData = placemark.osmData();
auto tagIter = osmData.findTag(QStringLiteral("addr:housename"));