added setting for compact emotes Fixed #821

This commit is contained in:
fourtf
2018-10-29 21:46:43 +01:00
parent dd8e8ad960
commit d500ab59ea
4 changed files with 22 additions and 6 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
#include "SettingsPage.hpp"
#include "Application.hpp"
#include "singletons/WindowManager.hpp"
#include <QDebug>
#include <QPainter>
@@ -51,8 +54,8 @@ QCheckBox *SettingsPage::createCheckBox(
// update setting on toggle
QObject::connect(checkbox, &QCheckBox::toggled, this,
[&setting](bool state) {
qDebug() << "update checkbox value";
setting = state; //
setting = state;
getApp()->windows->forceLayoutChannelViews();
});
return checkbox;