diff options
author | jan Iversen <jani@apache.org> | 2018-07-24 18:19:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-25 08:35:04 -0700 |
commit | 254ba61fd90900dbb3816ba515d21e9d42f11f94 (patch) | |
tree | a6370ea0aaa204a5282f6026fb47e26acfaffc96 /core/settings/qPrefAnimations.h | |
parent | 0002cd2d202c45d520f115280f98ba94c0028815 (diff) | |
download | subsurface-254ba61fd90900dbb3816ba515d21e9d42f11f94.tar.gz |
core: make load/sync inline in qPrefAnimations
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefAnimations.h')
-rw-r--r-- | core/settings/qPrefAnimations.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |