mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 07:05:26 -04:00
Merge pull request #1221 from hunbernd/fix/private-chat-icon-not-updating
Fix private chat icon not changing back to idle icon from new message…
This commit is contained in:
commit
c84e5e863b
1 changed files with 7 additions and 0 deletions
|
@ -743,6 +743,13 @@ bool ChatWidget::eventFilter(QObject *obj, QEvent *event)
|
|||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
if (event->type() == QEvent::WindowActivate) {
|
||||
if (isVisible() && (window() == NULL || window()->isActiveWindow())) {
|
||||
newMessages = false;
|
||||
emit infoChanged(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
// pass the event on to the parent class
|
||||
return QWidget::eventFilter(obj, event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue