diff --git a/src/controllers/notifications/NotificationController.cpp b/src/controllers/notifications/NotificationController.cpp index 2b68b130f..653db98c9 100644 --- a/src/controllers/notifications/NotificationController.cpp +++ b/src/controllers/notifications/NotificationController.cpp @@ -180,8 +180,13 @@ void NotificationController::getFakeTwitchChannelLiveStatus( getApp()->notifications->playSound(); } if (getSettings()->notificationFlashTaskbar) { - QApplication::alert( - getApp()->windows->getMainWindow().window(), 2500); + if (getSettings()->longAlerts) { + QApplication::alert( + getApp()->windows->getMainWindow().window(), 0); + } else { + QApplication::alert( + getApp()->windows->getMainWindow().window(), 2500); + } } } return Success; diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index a219ce690..55d9b6506 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -408,8 +408,14 @@ void TwitchChannel::setLive(bool newLiveStatus) getApp()->notifications->playSound(); } if (getSettings()->notificationFlashTaskbar) { - QApplication::alert( - getApp()->windows->getMainWindow().window(), 2500); + if (getSettings()->longAlerts) { + QApplication::alert( + getApp()->windows->getMainWindow().window(), 0); + } else { + QApplication::alert( + getApp()->windows->getMainWindow().window(), + 2500); + } } } auto live = makeSystemMessage(this->getName() + " is live");