summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDisplay.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-04 21:45:48 +0200
committerGravatar jan Iversen <jani@apache.org>2018-07-12 18:44:31 +0200
commitda61c1714f24d42f5295bcd60d704e65f503b174 (patch)
treeea323bfd7164a700c5d2b603fdf013ab2967a164 /core/settings/qPrefDisplay.h
parentd7fed0bcb76cc1742f73577b70df048032f70a61 (diff)
downloadsubsurface-da61c1714f24d42f5295bcd60d704e65f503b174.tar.gz
core: activate qPrefDisplay in SettingsObjectWrapper
add the prepared class qPrefDisplay to SettingsObjectWrapper and thereby making it active. As a consequence of the uniform naming standard desktop-widgets/preferences_defaults.cpp and tests/testpreferences.cpp have been updated. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefDisplay.h')
-rw-r--r--core/settings/qPrefDisplay.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h
index 6448e0115..67930ae63 100644
--- a/core/settings/qPrefDisplay.h
+++ b/core/settings/qPrefDisplay.h
@@ -19,6 +19,8 @@ public:
// Load/Sync local settings (disk) and struct preference
void loadSync(bool doSync);
+ void load() { loadSync(false); };
+ void sync() { loadSync(true); };
public:
const QString divelist_font() const;