summaryrefslogtreecommitdiff
path: root/src/gui/windows/quitdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:49:45 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:49:45 +0300
commit1307b14ff24f3935fa58aef405ffb246c0741336 (patch)
treebe0ebcda4a9b99a3b290fca9d8a210b18400b73a /src/gui/windows/quitdialog.cpp
parentb10cb3ac1189eaa5f41184527eee342584231f84 (diff)
downloadmanaplus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.gz
manaplus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.bz2
manaplus-1307b14ff24f3935fa58aef405ffb246c0741336.tar.xz
manaplus-1307b14ff24f3935fa58aef405ffb246c0741336.zip
Remove getter for charServerHandler.
Diffstat (limited to 'src/gui/windows/quitdialog.cpp')
-rw-r--r--src/gui/windows/quitdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp
index 9635cd98f..2f9cf51c5 100644
--- a/src/gui/windows/quitdialog.cpp
+++ b/src/gui/windows/quitdialog.cpp
@@ -193,7 +193,7 @@ void QuitDialog::action(const ActionEvent &event)
{
if (client->getState() == STATE_GAME)
{
- Net::getCharServerHandler()->switchCharacter();
+ charServerHandler->switchCharacter();
DialogsManager::closeDialogs();
serverConfig.write();
}