mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
fixed user list bug in threaded client, fixed buddy list crash in server
This commit is contained in:
parent
fd5be3d525
commit
d251078feb
5 changed files with 13 additions and 11 deletions
|
|
@ -107,6 +107,7 @@ void TabUserLists::processUserLeftEvent(const Event_UserLeft &event)
|
|||
|
||||
void TabUserLists::buddyListReceived(const QList<ServerInfo_User> &_buddyList)
|
||||
{
|
||||
qDebug() << "BUDDY LIST" << _buddyList.size();
|
||||
for (int i = 0; i < _buddyList.size(); ++i)
|
||||
buddyList->processUserInfo(_buddyList[i], false);
|
||||
buddyList->sortItems();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue