summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/yearlystatisticsmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/yearlystatisticsmodel.cpp b/qt-models/yearlystatisticsmodel.cpp
index f0877274b..89a6ad0e2 100644
--- a/qt-models/yearlystatisticsmodel.cpp
+++ b/qt-models/yearlystatisticsmodel.cpp
@@ -5,7 +5,7 @@
#include "core/statistics.h"
class YearStatisticsItem : public TreeItem {
- Q_OBJECT
+ Q_DECLARE_TR_FUNCTIONS(YearStatisticsItem)
public:
enum {
YEAR,