summaryrefslogtreecommitdiffstats
path: root/stats/pieseries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/pieseries.cpp')
-rw-r--r--stats/pieseries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/stats/pieseries.cpp b/stats/pieseries.cpp
index eeecac36c..85c42b93b 100644
--- a/stats/pieseries.cpp
+++ b/stats/pieseries.cpp
@@ -85,9 +85,9 @@ void PieSeries::Item::highlight(int bin_nr, bool highlight, int numBins)
}
}
-PieSeries::PieSeries(QGraphicsScene *scene, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName,
+PieSeries::PieSeries(QGraphicsScene *scene, StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis, const QString &categoryName,
const std::vector<std::pair<QString, int>> &data, bool keepOrder, bool labels) :
- StatsSeries(scene, xAxis, yAxis),
+ StatsSeries(scene, view, xAxis, yAxis),
categoryName(categoryName),
highlighted(-1)
{