diff options
Diffstat (limited to 'core/settings/qPrefDisplay.h')
-rw-r--r-- | core/settings/qPrefDisplay.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h index b1090b7a1..f5f477972 100644 --- a/core/settings/qPrefDisplay.h +++ b/core/settings/qPrefDisplay.h @@ -27,7 +27,6 @@ class qPrefDisplay : public QObject { Q_PROPERTY(int lastState READ lastState WRITE set_lastState NOTIFY lastStateChanged); public: - qPrefDisplay(QObject *parent = NULL); static qPrefDisplay *instance(); // Load/Sync local settings (disk) and struct preference @@ -93,6 +92,8 @@ signals: void lastStateChanged(int value); private: + qPrefDisplay() {} + // functions to load/sync variable with disk static void disk_animation_speed(bool doSync); static void disk_divelist_font(bool doSync); |