From 3d4b7b537fe2f66d944652ca10f48f9e363de2c8 2012-04-04 07:37:14 From: sauimone Date: 2012-04-04 07:37:14 Subject: [PATCH] barchart item handleModelChanged slot fix --- diff --git a/src/barchart/barchartitem.cpp b/src/barchart/barchartitem.cpp index 1defe01..cf7e6f2 100644 --- a/src/barchart/barchartitem.cpp +++ b/src/barchart/barchartitem.cpp @@ -169,9 +169,8 @@ void BarChartItem::setLayout(const QVector &layout) } //handlers -void BarChartItem::handleModelChanged(int index) +void BarChartItem::handleModelChanged() { - Q_UNUSED(index) dataChanged(); } diff --git a/src/barchart/barchartitem_p.h b/src/barchart/barchartitem_p.h index 703c532..c80c43c 100644 --- a/src/barchart/barchartitem_p.h +++ b/src/barchart/barchartitem_p.h @@ -58,7 +58,7 @@ public: QRectF geometry() const { return m_rect;} public Q_SLOTS: - void handleModelChanged(int index); + void handleModelChanged(); void handleDomainChanged(qreal minX, qreal maxX, qreal minY, qreal maxY); void handleGeometryChanged(const QRectF &size); void handleLayoutChanged();