Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
7de11030
Commit
7de11030
authored
Feb 06, 2015
by
Matt Lowe
Browse files
You have been kicked message box
Its easy to not see that you have been kicked right now. This makes it more apparent.
parent
adb259fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_game.cpp
View file @
7de11030
...
@@ -1082,6 +1082,10 @@ void TabGame::eventKicked(const Event_Kicked & /*event*/, int /*eventPlayerId*/,
...
@@ -1082,6 +1082,10 @@ void TabGame::eventKicked(const Event_Kicked & /*event*/, int /*eventPlayerId*/,
{
{
closeGame
();
closeGame
();
messageLog
->
logKicked
();
messageLog
->
logKicked
();
QMessageBox
msgBox
(
this
);
msgBox
.
setText
(
tr
(
"You have been kicked out of the game."
));
msgBox
.
setIcon
(
QMessageBox
::
Information
);
msgBox
.
exec
();
emit
userEvent
();
emit
userEvent
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment