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/qPrefDiveComputer.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/qPrefDiveComputer.h')
-rw-r--r-- | core/settings/qPrefDiveComputer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/settings/qPrefDiveComputer.h b/core/settings/qPrefDiveComputer.h index 30cc5e1e0..dda0b9500 100644 --- a/core/settings/qPrefDiveComputer.h +++ b/core/settings/qPrefDiveComputer.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 device() { return prefs.dive_computer.device; }; - static inline QString device_name() { return prefs.dive_computer.device_name; }; - static inline int download_mode() { return prefs.dive_computer.download_mode; }; - static inline QString product() { return prefs.dive_computer.product; }; - static inline QString vendor() { return prefs.dive_computer.vendor; }; + static QString device() { return prefs.dive_computer.device; } + static QString device_name() { return prefs.dive_computer.device_name; } + static int download_mode() { return prefs.dive_computer.download_mode; } + static QString product() { return prefs.dive_computer.product; } + static QString vendor() { return prefs.dive_computer.vendor; } public slots: void set_device(const QString &device); |