summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/connectiondialog.cpp2
-rw-r--r--src/gui/windows/connectiondialog.h2
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);