core: qPref, remove inline and ; for inline functions

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-08-02 18:32:51 +02:00 committed by Dirk Hohndel
parent d6983391c6
commit 264aa883b2
8 changed files with 58 additions and 58 deletions

View file

@ -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);