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/qPrefUnit.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/qPrefUnit.h')
-rw-r--r-- | core/settings/qPrefUnit.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/settings/qPrefUnit.h b/core/settings/qPrefUnit.h index c1bed4103..70ccadadd 100644 --- a/core/settings/qPrefUnit.h +++ b/core/settings/qPrefUnit.h @@ -25,20 +25,20 @@ 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 bool coordinates_traditional() { return prefs.coordinates_traditional; } - static inline units::DURATION duration_units() { return prefs.units.duration_units; } - static inline units::LENGTH length() { return prefs.units.length; } - static inline units::PRESSURE pressure() { return prefs.units.pressure; } - static inline bool show_units_table() { return prefs.units.show_units_table; } - static inline units::TEMPERATURE temperature() { return prefs.units.temperature; } + static bool coordinates_traditional() { return prefs.coordinates_traditional; } + static units::DURATION duration_units() { return prefs.units.duration_units; } + static units::LENGTH length() { return prefs.units.length; } + static units::PRESSURE pressure() { return prefs.units.pressure; } + static bool show_units_table() { return prefs.units.show_units_table; } + static units::TEMPERATURE temperature() { return prefs.units.temperature; } static QString unit_system(); - static inline units::TIME vertical_speed_time() { return prefs.units.vertical_speed_time; } - static inline units::VOLUME volume() { return prefs.units.volume; } - static inline units::WEIGHT weight() { return prefs.units.weight; } + static units::TIME vertical_speed_time() { return prefs.units.vertical_speed_time; } + static units::VOLUME volume() { return prefs.units.volume; } + static units::WEIGHT weight() { return prefs.units.weight; } public slots: void set_coordinates_traditional(bool value); |