mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
removed workaround
This commit is contained in:
parent
5e328d2404
commit
a159b80801
|
@ -49,13 +49,7 @@ void GroupWidget::contextMenuEvent(QContextMenuEvent * event)
|
||||||
|
|
||||||
QAction* selectedItem = menu.exec(pos);
|
QAction* selectedItem = menu.exec(pos);
|
||||||
if (selectedItem == quitGroup)
|
if (selectedItem == quitGroup)
|
||||||
{
|
|
||||||
hide();
|
|
||||||
show(); //Toggle visibility to work around bug of repaintEvent() not being fired on parent widget when this is hidden
|
|
||||||
hide();
|
|
||||||
emit removeGroup(groupId);
|
emit removeGroup(groupId);
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GroupWidget::onUserListChanged()
|
void GroupWidget::onUserListChanged()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user