mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Blink taskbar icon and window icon only when window is inactive.
This commit is contained in:
parent
aa20df7144
commit
63f7dee6cf
|
@ -1223,8 +1223,11 @@ bool Widget::newMessageAlert(QWidget* currentWindow, bool isActive, bool sound,
|
|||
|
||||
if (notify)
|
||||
{
|
||||
QApplication::alert(currentWindow);
|
||||
eventFlag = true;
|
||||
if (inactiveWindow)
|
||||
{
|
||||
QApplication::alert(currentWindow);
|
||||
eventFlag = true;
|
||||
}
|
||||
|
||||
if (Settings::getInstance().getShowWindow())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user