summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-06 08:24:51 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-06 08:24:51 (GMT)
commit7de7cf170957ee9836f8361d66b64e00c15e24f1 (patch)
tree5ded94e51861f8f5a35730cbc001a27703d111ac
parentb1b8f0fd691abb789d8464202049de1ac9c85748 (diff)
Follow-up to 461dc11: Icons are rendered by PlacemarkLayer.
-rw-r--r--src/lib/marble/geodata/graphicsitem/AbstractGeoPolygonGraphicsItem.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/marble/geodata/graphicsitem/AbstractGeoPolygonGraphicsItem.cpp b/src/lib/marble/geodata/graphicsitem/AbstractGeoPolygonGraphicsItem.cpp
index 5f91154..5f57312 100644
--- a/src/lib/marble/geodata/graphicsitem/AbstractGeoPolygonGraphicsItem.cpp
+++ b/src/lib/marble/geodata/graphicsitem/AbstractGeoPolygonGraphicsItem.cpp
@@ -66,15 +66,6 @@ void AbstractGeoPolygonGraphicsItem::paint( GeoPainter* painter, const ViewportP
painter->drawPolygon( *m_ring );
}
- const GeoDataIconStyle& iconStyle = style()->iconStyle();
- bool const hasIcon = !iconStyle.iconPath().isEmpty();
- if (hasIcon) {
- int const tileLevel = qLn( viewport->radius() * 4 / 256 ) / qLn( 2.0 );
- if (tileLevel >= feature()->zoomLevel()) {
- QImage const icon = iconStyle.scaledIcon();
- painter->drawImage(latLonAltBox().center(), icon);
- }
- }
painter->restore();
}