diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 02:02:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 02:02:15 +0300 |
commit | 972fdcbd1ed61e2528c8b4c733f21a70d7f674b1 (patch) | |
tree | 508eed7f5270f975ead2ba4977a82c704115ae8b | |
parent | 81d7f5a3c45d1575751c78a17a2b53e329c6abf3 (diff) | |
download | manaplus-972fdcbd1ed61e2528c8b4c733f21a70d7f674b1.tar.gz manaplus-972fdcbd1ed61e2528c8b4c733f21a70d7f674b1.tar.bz2 manaplus-972fdcbd1ed61e2528c8b4c733f21a70d7f674b1.tar.xz manaplus-972fdcbd1ed61e2528c8b4c733f21a70d7f674b1.zip |
Fix hide issue in ConnectionDialog::action.
-rw-r--r-- | src/gui/windows/connectiondialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/connectiondialog.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp index 1be79f6db..ec23ab646 100644 --- a/src/gui/windows/connectiondialog.cpp +++ b/src/gui/windows/connectiondialog.cpp @@ -67,7 +67,7 @@ void ConnectionDialog::postInit() setVisible(Visible_true); } -void ConnectionDialog::action(const ActionEvent &action A_UNUSED) +void ConnectionDialog::action(const ActionEvent &event A_UNUSED) { logger->log1("Cancel pressed"); client->setState(mCancelState); diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h index 312ec5c8a..ca403c477 100644 --- a/src/gui/windows/connectiondialog.h +++ b/src/gui/windows/connectiondialog.h @@ -56,7 +56,7 @@ class ConnectionDialog final : public Window, * Called when the user presses Cancel. Restores the global state to * the previous one. */ - void action(const ActionEvent &action) override final; + void action(const ActionEvent &event) override final; void draw(Graphics *const graphics) override final A_NONNULL(2); |