mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 00:01:21 -04:00
Added settings for the blinking icons
- private chat window/tab - chat lobby tab - all tray notifier git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5729 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
03e521c024
commit
af2257b1a9
28 changed files with 217 additions and 29 deletions
|
@ -147,9 +147,9 @@ void UserNotify::trayIconClicked(QSystemTrayIcon::ActivationReason e)
|
|||
|
||||
void UserNotify::blink(bool on)
|
||||
{
|
||||
bool blinking = isBlinking();
|
||||
|
||||
if (mTrayIcon) {
|
||||
bool blinking = notifyBlink();
|
||||
|
||||
if (blinking) {
|
||||
/* blink icon */
|
||||
mTrayIcon->setIcon(on ? getIcon() : QIcon());
|
||||
|
@ -159,7 +159,7 @@ void UserNotify::blink(bool on)
|
|||
mTrayIcon->setIcon(getIcon());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
mLastBlinking = blinking;
|
||||
mLastBlinking = blinking;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue