summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/registerdialog.cpp')
-rw-r--r--src/gui/registerdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/registerdialog.cpp b/src/gui/registerdialog.cpp
index 1458d043d..cfbb44a5c 100644
--- a/src/gui/registerdialog.cpp
+++ b/src/gui/registerdialog.cpp
@@ -45,12 +45,12 @@
#include "debug.h"
WrongDataNoticeListener::WrongDataNoticeListener():
- ActionListener(),
+ gcn::ActionListener(),
mTarget(nullptr)
{
}
-void WrongDataNoticeListener::setTarget(gcn::TextField *const textField)
+void WrongDataNoticeListener::setTarget(TextField *const textField)
{
mTarget = textField;
}
@@ -63,8 +63,8 @@ void WrongDataNoticeListener::action(const gcn::ActionEvent &event)
RegisterDialog::RegisterDialog(LoginData *const data):
Window(_("Register"), false, nullptr, "register.xml"),
- ActionListener(),
- KeyListener(),
+ gcn::ActionListener(),
+ gcn::KeyListener(),
mLoginData(data),
mUserField(new TextField(mLoginData->username)),
mPasswordField(new PasswordField(mLoginData->password)),