mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
added missing updateIcon() in messageUserNotify
This commit is contained in:
parent
082603917c
commit
9c6bfc7847
1 changed files with 4 additions and 2 deletions
|
@ -94,7 +94,8 @@ void MessageUserNotify::handleEvent_main_thread(std::shared_ptr<const RsEvent> e
|
||||||
|
|
||||||
std::set<RsMailMessageId>::const_iterator it;
|
std::set<RsMailMessageId>::const_iterator it;
|
||||||
|
|
||||||
switch (fe->mMailStatusEventCode) {
|
switch (fe->mMailStatusEventCode)
|
||||||
|
{
|
||||||
case RsMailStatusEventCode::NEW_MESSAGE:
|
case RsMailStatusEventCode::NEW_MESSAGE:
|
||||||
for (it = fe->mChangedMsgIds.begin(); it != fe->mChangedMsgIds.end(); ++it) {
|
for (it = fe->mChangedMsgIds.begin(); it != fe->mChangedMsgIds.end(); ++it) {
|
||||||
MessageInfo msgInfo;
|
MessageInfo msgInfo;
|
||||||
|
@ -102,6 +103,7 @@ void MessageUserNotify::handleEvent_main_thread(std::shared_ptr<const RsEvent> e
|
||||||
NotifyQt::getInstance()->addToaster(RS_POPUP_MSG, msgInfo.msgId.c_str(), msgInfo.title.c_str(), msgInfo.msg.c_str() );
|
NotifyQt::getInstance()->addToaster(RS_POPUP_MSG, msgInfo.msgId.c_str(), msgInfo.title.c_str(), msgInfo.msg.c_str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
updateIcon();
|
||||||
break;
|
break;
|
||||||
case RsMailStatusEventCode::MESSAGE_CHANGED:
|
case RsMailStatusEventCode::MESSAGE_CHANGED:
|
||||||
case RsMailStatusEventCode::MESSAGE_REMOVED:
|
case RsMailStatusEventCode::MESSAGE_REMOVED:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue