aboutsummaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r--stats/statsview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp
index fdf6e9dc3..394620d13 100644
--- a/stats/statsview.cpp
+++ b/stats/statsview.cpp
@@ -186,8 +186,7 @@ void StatsView::updateTitlePos()
template <typename T, class... Args>
T *StatsView::createAxis(const QString &title, Args&&... args)
{
- // TODO: set title
- T *res = new T(chart, std::forward<Args>(args)...);
+ T *res = new T(chart, title, std::forward<Args>(args)...);
axes.emplace_back(res);
return res;
}