summaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r--stats/statsview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp
index 5f9f51f6d..e97510087 100644
--- a/stats/statsview.cpp
+++ b/stats/statsview.cpp
@@ -246,7 +246,7 @@ void StatsView::hoverMoveEvent(QHoverEvent *event)
template <typename T, class... Args>
T *StatsView::createSeries(Args&&... args)
{
- T *res = new T(&scene, xAxis, yAxis, std::forward<Args>(args)...);
+ T *res = new T(&scene, *this, xAxis, yAxis, std::forward<Args>(args)...);
series.emplace_back(res);
series.back()->updatePositions();
return res;