summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefFacebook.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-02 18:32:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-02 13:31:08 -0700
commit264aa883b2c071951a52e620a3c23e6caef1f7f2 (patch)
tree02b3d60f1487e11916f950e95691cc92d0fccded /core/settings/qPrefFacebook.h
parentd6983391c636e183d2c0abedddd9052f81b435de (diff)
downloadsubsurface-264aa883b2c071951a52e620a3c23e6caef1f7f2.tar.gz
core: qPref, remove inline and ; for inline functions
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefFacebook.h')
-rw-r--r--core/settings/qPrefFacebook.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/settings/qPrefFacebook.h b/core/settings/qPrefFacebook.h
index dc6efcbdb..60c037583 100644
--- a/core/settings/qPrefFacebook.h
+++ b/core/settings/qPrefFacebook.h
@@ -18,13 +18,13 @@ 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 access_token() { return prefs.facebook.access_token; }
- static inline QString album_id() { return prefs.facebook.album_id; }
- static inline QString user_id() { return prefs.facebook.user_id; }
+ static QString access_token() { return prefs.facebook.access_token; }
+ static QString album_id() { return prefs.facebook.album_id; }
+ static QString user_id() { return prefs.facebook.user_id; }
public slots:
void set_access_token(const QString& value);