From c64af47841397feca3b1acc0a5df2801121bf348 2012-08-22 12:52:25 From: Jani Honkonen Date: 2012-08-22 12:52:25 Subject: [PATCH] pie: get rid of "Slot not implemented" warning Currently pie does not know anything about the domain. --- diff --git a/src/piechart/piechartitem.cpp b/src/piechart/piechartitem.cpp index fd13cc6..19cb81b 100644 --- a/src/piechart/piechartitem.cpp +++ b/src/piechart/piechartitem.cpp @@ -90,6 +90,11 @@ void PieChartItem::handleDomainChanged(qreal minX, qreal maxX, qreal minY, qreal // does not apply to pie } +void PieChartItem::handleDomainUpdated() +{ + // does not apply to pie +} + void PieChartItem::rangeXChanged(qreal min, qreal max, int tickXCount) { Q_UNUSED(min); diff --git a/src/piechart/piechartitem_p.h b/src/piechart/piechartitem_p.h index fc2766b..7ec19cf 100644 --- a/src/piechart/piechartitem_p.h +++ b/src/piechart/piechartitem_p.h @@ -56,6 +56,7 @@ public Q_SLOTS: // from Chart virtual void handleGeometryChanged(const QRectF &rect); virtual void handleDomainChanged(qreal minX, qreal maxX, qreal minY, qreal maxY); + virtual void handleDomainUpdated(); virtual void rangeXChanged(qreal min, qreal max, int tickXCount); virtual void rangeYChanged(qreal min, qreal max, int tickYCount);