summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-07 20:46:25 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-07 20:46:25 (GMT)
commit312134352779c17cff5dfcaddc5fd9da33462733 (patch)
treeab59fa09544d5f42c7c8d214495095d56f72d44f
parent7f16581074ea8c90dd2ada585cb66e1aef777e79 (diff)
No need for a protected member
-rw-r--r--src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h b/src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h
index f79a20c..b64dbad 100644
--- a/src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h
+++ b/src/lib/marble/geodata/graphicsitem/GeoLineStringGraphicsItem.h
@@ -30,18 +30,15 @@ public:
virtual const GeoDataLatLonAltBox& latLonAltBox() const;
-
void paint(GeoPainter* painter, const ViewportParams *viewport, const QString &layer);
-protected:
- const GeoDataLineString *m_lineString;
-
private:
void paintOutline(GeoPainter *painter, const ViewportParams *viewport);
void paintInline(GeoPainter *painter, const ViewportParams *viewport);
void paintLabel(GeoPainter *painter, const ViewportParams *viewport);
-
QPen configurePainter(GeoPainter* painter, const ViewportParams *viewport, LabelPositionFlags &labelPositionFlags) const;
+
+ const GeoDataLineString *m_lineString;
};
}