diff options
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r-- | stats/statsview.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp index e97510087..05693fd0b 100644 --- a/stats/statsview.cpp +++ b/stats/statsview.cpp @@ -279,14 +279,6 @@ T *StatsView::createAxis(const QString &title, Args&&... args) return res; } -template <typename T, class... Args> -std::unique_ptr<T> StatsView::createChartItem(Args&&... args) -{ - std::unique_ptr<T> res(new T(*this, std::forward<Args>(args)...)); - items.push_back(res.get()); - return res; -} - void StatsView::setAxes(StatsAxis *x, StatsAxis *y) { xAxis = x; |