Cleaner flashing code (#774)
This commit is contained in:
@@ -788,13 +788,7 @@ void TwitchMessageBuilder::parseHighlights(bool isPastMsg)
|
||||
}
|
||||
|
||||
if (doAlert) {
|
||||
if (getSettings()->longAlerts) {
|
||||
QApplication::alert(
|
||||
getApp()->windows->getMainWindow().window(), 0);
|
||||
} else {
|
||||
QApplication::alert(
|
||||
getApp()->windows->getMainWindow().window(), 2500);
|
||||
}
|
||||
getApp()->windows->sendAlert();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user