diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-10-07 17:48:26 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-08 03:29:30 +0000 |
commit | 991fc16e85fc3aa35b528af8b0256646b226471f (patch) | |
tree | b4a7bfe15ac7d7471a8961a8efc93cdba652f703 /ui/qt/manager | |
parent | 4d2f4692129b1953c8631d58036bd6ce8cde6d50 (diff) |
Qt: Remove Q_OBJECT in a few places where it's not needed.
Q_OBJECT is only needed for signals+slots, translations, and other
meta-object services. Remove it in some classes, since having it means
we're generating and compiling code unnecessarily.
Diffstat (limited to 'ui/qt/manager')
-rw-r--r-- | ui/qt/manager/preference_manager.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/qt/manager/preference_manager.h b/ui/qt/manager/preference_manager.h index d948c6c8e1..4817a3187f 100644 --- a/ui/qt/manager/preference_manager.h +++ b/ui/qt/manager/preference_manager.h @@ -25,8 +25,6 @@ class WiresharkPreference; class PreferenceManager : public QObject { - Q_OBJECT - public: static PreferenceManager* instance(); virtual ~PreferenceManager(); @@ -44,7 +42,6 @@ private: class PreferenceFactory : public QObject { - Q_OBJECT public: virtual ~PreferenceFactory(); virtual WiresharkPreference * create(QObject * parent = Q_NULLPTR) = 0; |