summaryrefslogtreecommitdiff
path: root/src/gui/connectiondialog.cpp
diff options
context:
space:
mode:
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)