mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: qPref, remove inline and ; for inline functions
Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
d6983391c6
commit
264aa883b2
8 changed files with 58 additions and 58 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue