mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
fixed bug with chat lobby icons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6165 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4f1dda2ffb
commit
5ccfed1cf4
1 changed files with 6 additions and 0 deletions
|
@ -181,6 +181,7 @@ void ChatLobbyWidget::addChatPage(ChatLobbyDialog *d)
|
|||
|
||||
_lobby_infos[d->id()].dialog = d ;
|
||||
_lobby_infos[d->id()].default_icon = QIcon() ;
|
||||
_lobby_infos[d->id()].last_typing_event = time(NULL) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -529,6 +530,11 @@ void ChatLobbyWidget::updateCurrentLobby()
|
|||
{
|
||||
showLobby(items.front());
|
||||
items.front()->setIcon(0,QIcon()) ;
|
||||
|
||||
ChatLobbyId id = items.front()->data(COLUMN_DATA, ROLE_ID).toULongLong();
|
||||
|
||||
if(_lobby_infos.find(id) != _lobby_infos.end())
|
||||
_lobby_infos[id].default_icon = QIcon() ;
|
||||
}
|
||||
}
|
||||
void ChatLobbyWidget::updateMessageChanged(ChatLobbyId id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue