Added functionality of making the flash taskbar last until the app is focused again (#767)
* Added functionality of making the flash taskbar last until chatterino is focused again * added it for every flash taskbar Fixes #760
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user