mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
fixed bug causing crash when invitation is received foran unsubscribed lobby
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6174 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4d6ca28e53
commit
e397560654
@ -543,6 +543,9 @@ void ChatLobbyWidget::updateMessageChanged(ChatLobbyId id)
|
|||||||
|
|
||||||
QTreeWidgetItem *item = getTreeWidgetItem(id) ;
|
QTreeWidgetItem *item = getTreeWidgetItem(id) ;
|
||||||
|
|
||||||
|
if(item == NULL)
|
||||||
|
return ;
|
||||||
|
|
||||||
item->setIcon(0,_lobby_infos[id].default_icon) ;
|
item->setIcon(0,_lobby_infos[id].default_icon) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user