From 254ba61fd90900dbb3816ba515d21e9d42f11f94 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 24 Jul 2018 18:19:46 +0200 Subject: core: make load/sync inline in qPrefAnimations Signed-off-by: Jan Iversen --- core/settings/qPrefAnimations.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/settings/qPrefAnimations.h') diff --git a/core/settings/qPrefAnimations.h b/core/settings/qPrefAnimations.h index 5b0fcaea4..63aa57c24 100644 --- a/core/settings/qPrefAnimations.h +++ b/core/settings/qPrefAnimations.h @@ -15,8 +15,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: static inline int animation_speed() { return prefs.animation_speed; }; -- cgit v1.2.3-70-g09d2