summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-09-18 16:12:23 (GMT)
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2016-09-18 16:37:31 (GMT)
commitda611f66129294ee6ce8dc6fae95ea020a6f92da (patch)
tree6a497c3cdf249149fd9cd11ac6546dd99eb2cc76
parentb8d82b4fd1acec32d5e838ad569779fa4d5eb353 (diff)
remove redundant code
Buildings are taken care for already by osmVisualCategory().
-rw-r--r--src/lib/marble/StyleBuilder.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/marble/StyleBuilder.cpp b/src/lib/marble/StyleBuilder.cpp
index 247ae42..ae7d7ca 100644
--- a/src/lib/marble/StyleBuilder.cpp
+++ b/src/lib/marble/StyleBuilder.cpp
@@ -1965,12 +1965,6 @@ GeoDataFeature::GeoDataVisualCategory StyleBuilder::determineVisualCategory(cons
return GeoDataFeature::None;
}
- auto tagIter = osmData.findTag(QStringLiteral("building"));
- if (tagIter != osmData.tagsEnd() &&
- buildingValues().contains(tagIter.value())) {
- return GeoDataFeature::Building;
- }
-
if( osmData.containsTag("natural", "glacier") && osmData.containsTag("glacier:type", "shelf") ){
return GeoDataFeature::NaturalIceShelf;
}