Cleaner flashing code (#774)
This commit is contained in:
@@ -408,14 +408,7 @@ void TwitchChannel::setLive(bool newLiveStatus)
|
||||
getApp()->notifications->playSound();
|
||||
}
|
||||
if (getSettings()->notificationFlashTaskbar) {
|
||||
if (getSettings()->longAlerts) {
|
||||
QApplication::alert(
|
||||
getApp()->windows->getMainWindow().window(), 0);
|
||||
} else {
|
||||
QApplication::alert(
|
||||
getApp()->windows->getMainWindow().window(),
|
||||
2500);
|
||||
}
|
||||
getApp()->windows->sendAlert();
|
||||
}
|
||||
}
|
||||
auto live = makeSystemMessage(this->getName() + " is live");
|
||||
|
||||
Reference in New Issue
Block a user