summaryrefslogtreecommitdiff
path: root/src/gui/connectiondialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:00:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commitc2a7004213529c403faeb6fdcc374699aa2f53b5 (patch)
treef5701ef3412923bc0e5e033033bd52960d66acc3 /src/gui/connectiondialog.cpp
parente8a4474319aca4a32869fa1ebb8b5ebbd98237f6 (diff)
downloadmanaplus-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.gz
manaplus-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.bz2
manaplus-c2a7004213529c403faeb6fdcc374699aa2f53b5.tar.xz
manaplus-c2a7004213529c403faeb6fdcc374699aa2f53b5.zip
improve getState/setState in Client.
Diffstat (limited to 'src/gui/connectiondialog.cpp')
-rw-r--r--src/gui/connectiondialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/connectiondialog.cpp b/src/gui/connectiondialog.cpp
index f6a80c91e..97894492f 100644
--- a/src/gui/connectiondialog.cpp
+++ b/src/gui/connectiondialog.cpp
@@ -59,7 +59,7 @@ ConnectionDialog::ConnectionDialog(const std::string &text,
void ConnectionDialog::action(const gcn::ActionEvent &)
{
logger->log1("Cancel pressed");
- Client::setState(mCancelState);
+ client->setState(mCancelState);
}
void ConnectionDialog::draw(gcn::Graphics *graphics)