Don't close the game tab immediately when kicked out of a game. Fixes bug #25

This commit is contained in:
Max-Wilhelm Bruker 2012-03-26 19:32:27 +02:00
parent d251078feb
commit 0b51af888c
4 changed files with 30 additions and 9 deletions

View file

@ -59,6 +59,11 @@ void MessageLogWidget::logGameClosed()
appendHtml(tr("The game has been closed."));
}
void MessageLogWidget::logKicked()
{
appendHtml(tr("You have been kicked out of the game."));
}
void MessageLogWidget::logJoinSpectator(QString name)
{
appendHtml(tr("%1 is now watching the game.").arg(sanitizeHtml(name)));