From 3d109a6ca371e6a0aeb394fe223eee5fcbfde913 Mon Sep 17 00:00:00 2001 From: apa420 Date: Sat, 18 Aug 2018 13:07:12 +0200 Subject: [PATCH] added settings for dot next to channel name --- src/singletons/Settings.hpp | 1 + src/widgets/settingspages/NotificationPage.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/singletons/Settings.hpp b/src/singletons/Settings.hpp index f23189e11..1dc0b9192 100644 --- a/src/singletons/Settings.hpp +++ b/src/singletons/Settings.hpp @@ -145,6 +145,7 @@ public: BoolSetting notificationPlaySound = {"/notifications/enablePlaySound", false}; BoolSetting notificationToast = {"/notifications/enableToast", false}; + BoolSetting notificationDot = {"/notifications/enableDot", false}; /// External tools // Streamlink diff --git a/src/widgets/settingspages/NotificationPage.cpp b/src/widgets/settingspages/NotificationPage.cpp index 6dd756b80..54e342c4a 100644 --- a/src/widgets/settingspages/NotificationPage.cpp +++ b/src/widgets/settingspages/NotificationPage.cpp @@ -28,8 +28,7 @@ NotificationPage::NotificationPage() { auto settings = tabs.appendTab(new QVBoxLayout, "Options"); { - settings.emplace( - "Enable for channel next to channel name"); + settings.emplace("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); }