aboutsummaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefAnimations.cpp
blob: 9be8900c59a7e0cb34c410cff29707d93b20dfe6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
#include "qPref.h"
#include "qPrefPrivate.h"

static const QString group = QStringLiteral("Animations");

qPrefAnimations::qPrefAnimations(QObject *parent) : QObject(parent)
{
}
qPrefAnimations *qPrefAnimations::instance()
{
	static qPrefAnimations *self = new qPrefAnimations;
	return self;
}

void qPrefAnimations::loadSync(bool doSync)
{
	disk_animation_speed(doSync);
}

HANDLE_PREFERENCE_INT(Animations, "/animation_speed", animation_speed);