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>
This commit is contained in:
Dirk Hohndel 2018-09-14 11:51:05 -07:00
parent b79dd2c423
commit 313351c396
2 changed files with 2 additions and 0 deletions

View file

@ -203,6 +203,7 @@ public:
};
class TextHyperlinkEventFilter : public QObject {
Q_OBJECT
public:
explicit TextHyperlinkEventFilter(QTextEdit *txtEdit);

View file

@ -5,6 +5,7 @@
#include "core/statistics.h"
class YearStatisticsItem : public TreeItem {
Q_OBJECT
public:
enum {
YEAR,