mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05: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
@ -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…
Reference in New Issue
Block a user