added settings for dot next to channel name

This commit is contained in:
apa420 2018-08-18 13:07:12 +02:00
parent 15e9e3e642
commit 3d109a6ca3
2 changed files with 5 additions and 2 deletions

View file

@ -145,6 +145,7 @@ public:
BoolSetting notificationPlaySound = {"/notifications/enablePlaySound",
false};
BoolSetting notificationToast = {"/notifications/enableToast", false};
BoolSetting notificationDot = {"/notifications/enableDot", false};
/// External tools
// Streamlink

View file

@ -28,8 +28,7 @@ NotificationPage::NotificationPage()
{
auto settings = tabs.appendTab(new QVBoxLayout, "Options");
{
settings.emplace<QLabel>(
"Enable for channel next to channel name");
settings.emplace<QLabel>("Enable for selected channels");
settings.append(this->createCheckBox(
"Flash taskbar",
getApp()->settings->notificationFlashTaskbar));
@ -39,6 +38,9 @@ NotificationPage::NotificationPage()
settings.append(this->createCheckBox(
"Enable toasts (currently only for windows 8.x or 10)",
getApp()->settings->notificationToast));
settings.append(
this->createCheckBox("Red dot next to live splits",
getApp()->settings->notificationDot));
settings->addStretch(1);
}