diff options
author | jan Iversen <jani@apache.org> | 2018-09-14 12:25:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-05 11:48:26 -0800 |
commit | 653a2baf111284171f0a2d25d6d9a0e82979f6d1 (patch) | |
tree | 65019f3ad9945216a8ca2c58ac4e681b32048f63 /core/settings/qPrefLanguage.h | |
parent | 6e846eb4c0c5755ddddbd696aeb6531eab5488d8 (diff) | |
download | subsurface-653a2baf111284171f0a2d25d6d9a0e82979f6d1.tar.gz |
core/settings: make qPref* constructors private
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefLanguage.h')
-rw-r--r-- | core/settings/qPrefLanguage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/settings/qPrefLanguage.h b/core/settings/qPrefLanguage.h index f3c15823a..a0dfffac8 100644 --- a/core/settings/qPrefLanguage.h +++ b/core/settings/qPrefLanguage.h @@ -17,7 +17,6 @@ class qPrefLanguage : public QObject { Q_PROPERTY(bool use_system_language READ use_system_language WRITE set_use_system_language NOTIFY use_system_languageChanged); public: - qPrefLanguage(QObject *parent = NULL); static qPrefLanguage *instance(); // Load/Sync local settings (disk) and struct preference @@ -56,6 +55,8 @@ signals: void use_system_languageChanged(bool value); private: + qPrefLanguage() {} + static void disk_date_format(bool doSync); static void disk_date_format_override(bool doSync); static void disk_date_format_short(bool doSync); |