diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-14 11:51:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-14 11:55:24 -0700 |
commit | 313351c396bf3a887c21662f270a68a9ae4510ee (patch) | |
tree | bb680e59a352a4f8194f44b71703b7ad42bd20f9 /qt-models | |
parent | b79dd2c423b580781cda1dcc7e727c8fa08daa1a (diff) | |
download | subsurface-313351c396bf3a887c21662f270a68a9ae4510ee.tar.gz |
Add Q_OBJECT macro to two more classes
These also showed up as concerns when creating translation strings.
Adding them thankfully didn't create new strings, but not having them
potentially leads to incorrect runtime behavior.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/yearlystatisticsmodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/yearlystatisticsmodel.cpp b/qt-models/yearlystatisticsmodel.cpp index c83a803c2..f0877274b 100644 --- a/qt-models/yearlystatisticsmodel.cpp +++ b/qt-models/yearlystatisticsmodel.cpp @@ -5,6 +5,7 @@ #include "core/statistics.h" class YearStatisticsItem : public TreeItem { + Q_OBJECT public: enum { YEAR, |