summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefAnimations.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefAnimations.h')
-rw-r--r--core/settings/qPrefAnimations.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/settings/qPrefAnimations.h b/core/settings/qPrefAnimations.h
index c24a6590e..450e854f9 100644
--- a/core/settings/qPrefAnimations.h
+++ b/core/settings/qPrefAnimations.h
@@ -14,22 +14,22 @@ public:
static qPrefAnimations *instance();
// Load/Sync local settings (disk) and struct preference
- void loadSync(bool doSync);
- void load() { loadSync(false); }
- void sync() { loadSync(true); }
+ static void loadSync(bool doSync);
+ static void load() { loadSync(false); }
+ static void sync() { loadSync(true); }
public:
static int animation_speed() { return prefs.animation_speed; }
public slots:
- void set_animation_speed(int value);
+ static void set_animation_speed(int value);
signals:
void animation_speed_changed(int value);
private:
// functions to load/sync variable with disk
- void disk_animation_speed(bool doSync);
+ static void disk_animation_speed(bool doSync);
};
#endif