mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
1eb0c4af26
commit
a96fbf1923
|
@ -260,12 +260,5 @@ void GroupWidget::setName(const QString& name)
|
||||||
|
|
||||||
void GroupWidget::retranslateUi()
|
void GroupWidget::retranslateUi()
|
||||||
{
|
{
|
||||||
Group* g = GroupList::findGroup(groupId);
|
updatePeerCount();
|
||||||
if (g) {
|
|
||||||
int peersCount = g->getPeersCount();
|
|
||||||
if (peersCount == 1)
|
|
||||||
statusMessageLabel->setText(tr("1 user in chat"));
|
|
||||||
else
|
|
||||||
statusMessageLabel->setText(tr("%1 users in chat").arg(peersCount));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user