diff --git a/src/barchart/barchartitem.cpp b/src/barchart/barchartitem.cpp index a340bf4..1620c5c 100644 --- a/src/barchart/barchartitem.cpp +++ b/src/barchart/barchartitem.cpp @@ -34,7 +34,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE BarChartItem::BarChartItem(QBarSeries *series, ChartPresenter *presenter) : ChartItem(presenter), - m_layoutSet(false), m_series(series) { setFlag(ItemClipsChildrenToShape); @@ -190,7 +189,6 @@ void BarChartItem::handleGeometryChanged(const QRectF &rect) prepareGeometryChange(); m_rect = rect; handleLayoutChanged(); - m_layoutSet = true; } void BarChartItem::handleLayoutChanged() diff --git a/src/barchart/barchartitem_p.h b/src/barchart/barchartitem_p.h index e0bc4bd..069d3ba 100644 --- a/src/barchart/barchartitem_p.h +++ b/src/barchart/barchartitem_p.h @@ -70,7 +70,6 @@ protected: qreal m_domainMaxY; QRectF m_rect; - bool m_layoutSet; // True, if component has been laid out. QVector m_layout; // Not owned.