mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #459
This commit is contained in:
parent
85d3a7275b
commit
2ea99eb635
|
@ -799,6 +799,9 @@ void Widget::removeFriend(Friend* f)
|
||||||
delete f;
|
delete f;
|
||||||
if (ui->mainHead->layout()->isEmpty())
|
if (ui->mainHead->layout()->isEmpty())
|
||||||
onAddClicked();
|
onAddClicked();
|
||||||
|
|
||||||
|
contactListWidget->hide();
|
||||||
|
contactListWidget->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::removeFriend(int friendId)
|
void Widget::removeFriend(int friendId)
|
||||||
|
@ -902,6 +905,9 @@ void Widget::removeGroup(Group* g)
|
||||||
delete g;
|
delete g;
|
||||||
if (ui->mainHead->layout()->isEmpty())
|
if (ui->mainHead->layout()->isEmpty())
|
||||||
onAddClicked();
|
onAddClicked();
|
||||||
|
|
||||||
|
contactListWidget->hide();
|
||||||
|
contactListWidget->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::removeGroup(int groupId)
|
void Widget::removeGroup(int groupId)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user