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
|
@ -1222,9 +1222,12 @@ bool Widget::newMessageAlert(QWidget* currentWindow, bool isActive, bool sound,
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (notify)
|
if (notify)
|
||||||
|
{
|
||||||
|
if (inactiveWindow)
|
||||||
{
|
{
|
||||||
QApplication::alert(currentWindow);
|
QApplication::alert(currentWindow);
|
||||||
eventFlag = true;
|
eventFlag = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (Settings::getInstance().getShowWindow())
|
if (Settings::getInstance().getShowWindow())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user