mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:53:23 +00:00
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:
parent
b79dd2c423
commit
313351c396
2 changed files with 2 additions and 0 deletions
|
@ -203,6 +203,7 @@ public:
|
|||
};
|
||||
|
||||
class TextHyperlinkEventFilter : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit TextHyperlinkEventFilter(QTextEdit *txtEdit);
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "core/statistics.h"
|
||||
|
||||
class YearStatisticsItem : public TreeItem {
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum {
|
||||
YEAR,
|
||||
|
|
Loading…
Add table
Reference in a new issue