diff options
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r-- | stats/statsview.cpp | 2 |
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; |