From 5f3471bf868da59d0fb4410b77b50544cddde963 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 24 Jul 2018 18:21:40 +0200 Subject: core: make load/sync inline in qPref Signed-off-by: Jan Iversen --- core/settings/qPref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/settings') diff --git a/core/settings/qPref.h b/core/settings/qPref.h index 6afd1a87a..251913831 100644 --- a/core/settings/qPref.h +++ b/core/settings/qPref.h @@ -22,8 +22,8 @@ public: // Load/Sync local settings (disk) and struct preference void loadSync(bool doSync); - void load() { loadSync(false); } - void sync() { loadSync(true); } + void inline load() { loadSync(false); } + void inline sync() { loadSync(true); } public: enum cloud_status { -- cgit v1.2.3-70-g09d2