diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:31:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:31:03 +0300 |
commit | 9cdbed6c562f95e24e02f49630386f8b18884a02 (patch) | |
tree | 4dad8316607387c80b66cf42b2a806ffa1a3afed /src/gui/windows/quitdialog.cpp | |
parent | 3a7313c027407e3b35360a021c72fe78f181d81d (diff) | |
download | manaplus-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.gz manaplus-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.bz2 manaplus-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.xz manaplus-9cdbed6c562f95e24e02f49630386f8b18884a02.zip |
Remove getter for gameHandler.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r-- | src/gui/windows/quitdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp index 2f9cf51c5..f5481070a 100644 --- a/src/gui/windows/quitdialog.cpp +++ b/src/gui/windows/quitdialog.cpp @@ -183,7 +183,7 @@ void QuitDialog::action(const ActionEvent &event) client->setState(STATE_EXIT); } } - else if (Net::getGameHandler()->isConnected() + else if (gameHandler->isConnected() && mSwitchAccountServer->isSelected()) { DialogsManager::closeDialogs(); |