mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
added settings for dot next to channel name
This commit is contained in:
parent
15e9e3e642
commit
3d109a6ca3
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue