summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 23:53:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 23:53:26 +0300
commit3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5 (patch)
treeb39b8569b98d4bc202efb8d90ff3555a4a8ec5a5 /src/gui/quitdialog.cpp
parentf1a357b3ce182b0128f2cf34872f0316107b9750 (diff)
downloadplus-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.gz
plus-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.bz2
plus-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.tar.xz
plus-3d70a4744e2294fbcfaedb9a63578ed93fa9d7c5.zip
Hide death message dialog in reconnect.
Diffstat (limited to 'src/gui/quitdialog.cpp')
-rw-r--r--src/gui/quitdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/quitdialog.cpp b/src/gui/quitdialog.cpp
index 05691c2d2..1307e198f 100644
--- a/src/gui/quitdialog.cpp
+++ b/src/gui/quitdialog.cpp
@@ -133,13 +133,13 @@ void QuitDialog::action(const gcn::ActionEvent &event)
}
else if (mLogoutQuit->isSelected())
{
- Client::closeDialogs();
+ Game::closeDialogs();
Client::setState(STATE_EXIT);
}
else if (Net::getGameHandler()->isConnected()
&& mSwitchAccountServer->isSelected())
{
- Client::closeDialogs();
+ Game::closeDialogs();
Client::setState(STATE_SWITCH_SERVER);
}
else if (mSwitchCharacter->isSelected())
@@ -147,7 +147,7 @@ void QuitDialog::action(const gcn::ActionEvent &event)
if (Client::getState() == STATE_GAME)
{
Net::getCharHandler()->switchCharacter();
- Client::closeDialogs();
+ Game::closeDialogs();
}
}
}