summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-21 22:22:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-21 22:22:47 +0300
commitba931a717cb5a2549ecdaa1f924dbbf5f896a21b (patch)
tree3c623bc1ce935c08b749572af439ae4b3b3dbc5b /src/gui/windows/logindialog.cpp
parent60b40c0c68e9cffbc5f48d4f672d99009488f8b1 (diff)
downloadmv-ba931a717cb5a2549ecdaa1f924dbbf5f896a21b.tar.gz
mv-ba931a717cb5a2549ecdaa1f924dbbf5f896a21b.tar.bz2
mv-ba931a717cb5a2549ecdaa1f924dbbf5f896a21b.tar.xz
mv-ba931a717cb5a2549ecdaa1f924dbbf5f896a21b.zip
Rename keyEvent variables into event.
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index 71abf153a..4db58e911 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -256,15 +256,15 @@ void LoginDialog::action(const ActionEvent &event)
}
}
-void LoginDialog::keyPressed(KeyEvent &keyEvent)
+void LoginDialog::keyPressed(KeyEvent &event)
{
- if (keyEvent.isConsumed())
+ if (event.isConsumed())
{
mLoginButton->setEnabled(canSubmit());
return;
}
- const int actionId = keyEvent.getActionId();
+ const int actionId = event.getActionId();
if (actionId == static_cast<int>(Input::KEY_GUI_CANCEL))
{
action(ActionEvent(nullptr, mServerButton->getActionEventId()));