diff options
author | jan Iversen <jani@apache.org> | 2018-08-02 18:32:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-02 13:31:08 -0700 |
commit | 264aa883b2c071951a52e620a3c23e6caef1f7f2 (patch) | |
tree | 02b3d60f1487e11916f950e95691cc92d0fccded /core/settings/qPrefDisplay.h | |
parent | d6983391c636e183d2c0abedddd9052f81b435de (diff) | |
download | subsurface-264aa883b2c071951a52e620a3c23e6caef1f7f2.tar.gz |
core: qPref, remove inline and ; for inline functions
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefDisplay.h')
-rw-r--r-- | core/settings/qPrefDisplay.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/settings/qPrefDisplay.h b/core/settings/qPrefDisplay.h index 5d077fc2a..804f4a258 100644 --- a/core/settings/qPrefDisplay.h +++ b/core/settings/qPrefDisplay.h @@ -19,15 +19,15 @@ public: // Load/Sync local settings (disk) and struct preference void loadSync(bool doSync); - void inline load() { loadSync(false); } - void inline sync() { loadSync(true); } + void load() { loadSync(false); } + void sync() { loadSync(true); } public: - static inline QString divelist_font() { return prefs.divelist_font; }; - static inline double font_size() { return prefs.font_size; }; - static inline bool display_invalid_dives() { return prefs.display_invalid_dives; }; - static inline bool show_developer() { return prefs.show_developer; }; - static inline QString theme() { return prefs.theme; }; + static QString divelist_font() { return prefs.divelist_font; } + static double font_size() { return prefs.font_size; } + static bool display_invalid_dives() { return prefs.display_invalid_dives; } + static bool show_developer() { return prefs.show_developer; } + static QString theme() { return prefs.theme; } public slots: void set_divelist_font(const QString &value); |