1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Update usercount when on group exit

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-06-30 20:45:41 +02:00
parent f03390bcca
commit e96e512a17

View File

@ -90,6 +90,7 @@ void Group::addPeer(int peerId, QString name)
void Group::removePeer(int peerId) void Group::removePeer(int peerId)
{ {
peers.remove(peerId); peers.remove(peerId);
nPeers--;
widget->onUserListChanged(); widget->onUserListChanged();
chatForm->onUserListChanged(); chatForm->onUserListChanged();
} }