summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 17:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 23:41:37 +0300
commit763e91044a4e9c8905ee082457cb42da36a38cc0 (patch)
treea73f68e02e083fc9b236ea7a18ef406dd5ea0a46 /src/gui/windows
parentdd3b6609584e59e8c3b67624c9800c5d0e2a2208 (diff)
downloadplus-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.gz
plus-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.bz2
plus-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.xz
plus-763e91044a4e9c8905ee082457cb42da36a38cc0.zip
Add missing function parameters.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/connectiondialog.cpp2
-rw-r--r--src/gui/windows/connectiondialog.h2
-rw-r--r--src/gui/windows/serverdialog.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index 1afa4774d..1be79f6db 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 &)
+void ConnectionDialog::action(const ActionEvent &action A_UNUSED)
{
logger->log1("Cancel pressed");
client->setState(mCancelState);
diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h
index 108ee0729..312ec5c8a 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 &) override final;
+ void action(const ActionEvent &action) override final;
void draw(Graphics *const graphics) override final A_NONNULL(2);
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp
index 51f937666..c447bfc12 100644
--- a/src/gui/windows/serverdialog.cpp
+++ b/src/gui/windows/serverdialog.cpp
@@ -359,7 +359,7 @@ void ServerDialog::keyPressed(KeyEvent &event)
mServersList->keyPressed(event);
}
-void ServerDialog::valueChanged(const SelectionEvent &)
+void ServerDialog::valueChanged(const SelectionEvent &event A_UNUSED)
{
const int index = mServersList->getSelected();
if (index == -1)