summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-14 12:25:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-14 12:25:00 -0700
commit6173ef2eb2030735a6614c188e90e8cdbbb9b486 (patch)
tree4defcf81d57e7e60c1062e214e6b63d01830e8e6 /qt-models
parent74b245a3a91ea6bdaeb27ef66c821a1261ccf062 (diff)
downloadsubsurface-6173ef2eb2030735a6614c188e90e8cdbbb9b486.tar.gz
Fix compilation problem
Never commit a change you didn't test. Oh well. Sorry. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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,