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/qPrefProxy.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/qPrefProxy.h')
-rw-r--r-- | core/settings/qPrefProxy.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/settings/qPrefProxy.h b/core/settings/qPrefProxy.h index e7cd209fa..abca19c06 100644 --- a/core/settings/qPrefProxy.h +++ b/core/settings/qPrefProxy.h @@ -21,16 +21,16 @@ 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 proxy_auth() { return prefs.proxy_auth; } - static inline QString proxy_host() { return prefs.proxy_host; } - static inline QString proxy_pass() { return prefs.proxy_pass; } - static inline int proxy_port() { return prefs.proxy_port; } - static inline int proxy_type() { return prefs.proxy_type; } - static inline QString proxy_user() { return prefs.proxy_user; } + static bool proxy_auth() { return prefs.proxy_auth; } + static QString proxy_host() { return prefs.proxy_host; } + static QString proxy_pass() { return prefs.proxy_pass; } + static int proxy_port() { return prefs.proxy_port; } + static int proxy_type() { return prefs.proxy_type; } + static QString proxy_user() { return prefs.proxy_user; } public slots: void set_proxy_auth(bool value); |