##// END OF EJS Templates
Removed unnecessary private member from LineChartItem...
Titta Heikkala -
r2817:ff781dbb52ec
parent child
Show More
@@ -70,8 +70,7 QPainterPath LineChartItem::shape() const
70
70
71 void LineChartItem::updateGeometry()
71 void LineChartItem::updateGeometry()
72 {
72 {
73 m_points = geometryPoints();
73 const QVector<QPointF> &points = geometryPoints();
74 const QVector<QPointF> &points = m_points;
75
74
76 if (points.size() == 0) {
75 if (points.size() == 0) {
77 prepareGeometryChange();
76 prepareGeometryChange();
@@ -74,7 +74,6 private:
74 QPainterPath m_fullPath;
74 QPainterPath m_fullPath;
75 QPainterPath m_shapePath;
75 QPainterPath m_shapePath;
76
76
77 QVector<QPointF> m_points;
78 QRectF m_rect;
77 QRectF m_rect;
79 QPen m_linePen;
78 QPen m_linePen;
80 bool m_pointsVisible;
79 bool m_pointsVisible;
General Comments 0
You need to be logged in to leave comments. Login now