##// END OF EJS Templates
removed m_layoutSet from barchartitem
sauimone -
r1247:0108313386d5
parent child
Show More
@@ -34,7 +34,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE
34
34
35 BarChartItem::BarChartItem(QBarSeries *series, ChartPresenter *presenter) :
35 BarChartItem::BarChartItem(QBarSeries *series, ChartPresenter *presenter) :
36 ChartItem(presenter),
36 ChartItem(presenter),
37 m_layoutSet(false),
38 m_series(series)
37 m_series(series)
39 {
38 {
40 setFlag(ItemClipsChildrenToShape);
39 setFlag(ItemClipsChildrenToShape);
@@ -190,7 +189,6 void BarChartItem::handleGeometryChanged(const QRectF &rect)
190 prepareGeometryChange();
189 prepareGeometryChange();
191 m_rect = rect;
190 m_rect = rect;
192 handleLayoutChanged();
191 handleLayoutChanged();
193 m_layoutSet = true;
194 }
192 }
195
193
196 void BarChartItem::handleLayoutChanged()
194 void BarChartItem::handleLayoutChanged()
@@ -70,7 +70,6 protected:
70 qreal m_domainMaxY;
70 qreal m_domainMaxY;
71
71
72 QRectF m_rect;
72 QRectF m_rect;
73 bool m_layoutSet; // True, if component has been laid out.
74 QVector<QRectF> m_layout;
73 QVector<QRectF> m_layout;
75
74
76 // Not owned.
75 // Not owned.
General Comments 0
You need to be logged in to leave comments. Login now