From 264aa883b2c071951a52e620a3c23e6caef1f7f2 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 2 Aug 2018 18:32:51 +0200 Subject: core: qPref, remove inline and ; for inline functions Signed-off-by: Jan Iversen --- core/settings/qPrefProxy.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'core/settings/qPrefProxy.h') 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); -- cgit v1.2.3-70-g09d2