added settings for dot next to channel name
This commit is contained in:
@@ -145,6 +145,7 @@ public:
|
|||||||
BoolSetting notificationPlaySound = {"/notifications/enablePlaySound",
|
BoolSetting notificationPlaySound = {"/notifications/enablePlaySound",
|
||||||
false};
|
false};
|
||||||
BoolSetting notificationToast = {"/notifications/enableToast", false};
|
BoolSetting notificationToast = {"/notifications/enableToast", false};
|
||||||
|
BoolSetting notificationDot = {"/notifications/enableDot", false};
|
||||||
|
|
||||||
/// External tools
|
/// External tools
|
||||||
// Streamlink
|
// Streamlink
|
||||||
|
|||||||
@@ -28,8 +28,7 @@ NotificationPage::NotificationPage()
|
|||||||
{
|
{
|
||||||
auto settings = tabs.appendTab(new QVBoxLayout, "Options");
|
auto settings = tabs.appendTab(new QVBoxLayout, "Options");
|
||||||
{
|
{
|
||||||
settings.emplace<QLabel>(
|
settings.emplace<QLabel>("Enable for selected channels");
|
||||||
"Enable for channel next to channel name");
|
|
||||||
settings.append(this->createCheckBox(
|
settings.append(this->createCheckBox(
|
||||||
"Flash taskbar",
|
"Flash taskbar",
|
||||||
getApp()->settings->notificationFlashTaskbar));
|
getApp()->settings->notificationFlashTaskbar));
|
||||||
@@ -39,6 +38,9 @@ NotificationPage::NotificationPage()
|
|||||||
settings.append(this->createCheckBox(
|
settings.append(this->createCheckBox(
|
||||||
"Enable toasts (currently only for windows 8.x or 10)",
|
"Enable toasts (currently only for windows 8.x or 10)",
|
||||||
getApp()->settings->notificationToast));
|
getApp()->settings->notificationToast));
|
||||||
|
settings.append(
|
||||||
|
this->createCheckBox("Red dot next to live splits",
|
||||||
|
getApp()->settings->notificationDot));
|
||||||
|
|
||||||
settings->addStretch(1);
|
settings->addStretch(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user