mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-01 00:20:29 -07:00
You have been kicked message box
Its easy to not see that you have been kicked right now. This makes it more apparent.
This commit is contained in:
@@ -1082,6 +1082,10 @@ void TabGame::eventKicked(const Event_Kicked & /*event*/, int /*eventPlayerId*/,
|
||||
{
|
||||
closeGame();
|
||||
messageLog->logKicked();
|
||||
QMessageBox msgBox(this);
|
||||
msgBox.setText(tr("You have been kicked out of the game."));
|
||||
msgBox.setIcon(QMessageBox::Information);
|
||||
msgBox.exec();
|
||||
emit userEvent();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user