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:
parent
f03390bcca
commit
e96e512a17
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user