diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-07-14 08:14:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-14 08:14:31 -0700 |
commit | e834874a7a6f8e37fade28bf20640b8d0815373b (patch) | |
tree | 6a04abcf9c36a2a1cbd557af11eed0df379d0263 /core/settings/qPrefDisplay.h | |
parent | cf329ca13100f3b8947c33c8e0a7f4a9cedd5e2b (diff) | |
parent | aa0a918082dced90eb608ba44f39028bfe9ad0c1 (diff) | |
download | subsurface-e834874a7a6f8e37fade28bf20640b8d0815373b.tar.gz |
Merge branch 'qPrefDisplay' of https://github.com/janiversen/subsurface
Diffstat (limited to 'core/settings/qPrefDisplay.h')
-rw-r--r-- | core/settings/qPrefDisplay.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h index 6448e0115..4a1c0ada5 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; @@ -51,5 +53,8 @@ private: void disk_display_invalid_dives(bool doSync); void disk_show_developer(bool doSync); void disk_theme(bool doSync); + + // font helper function + void setCorrectFont(); }; #endif |