new settings page

This commit is contained in:
fourtf
2018-10-31 19:45:51 +01:00
parent a0b6e4bb76
commit 3c3be99177
23 changed files with 651 additions and 101 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ void GIFTimer::initialize()
{
this->timer.setInterval(30);
getSettings()->enableGifAnimations.connect([this](bool enabled, auto) {
getSettings()->animateEmotes.connect([this](bool enabled, auto) {
if (enabled)
this->timer.start();
else
@@ -18,7 +18,7 @@ void GIFTimer::initialize()
});
QObject::connect(&this->timer, &QTimer::timeout, [this] {
if (getSettings()->enableAnimationsWhenFocused &&
if (getSettings()->animationsWhenFocused &&
qApp->activeWindow() == nullptr)
return;