summaryrefslogtreecommitdiff
path: root/src/gui/windows/registerdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/registerdialog.h')
-rw-r--r--src/gui/windows/registerdialog.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/gui/windows/registerdialog.h b/src/gui/windows/registerdialog.h
index 90087b5e2..fc063ac14 100644
--- a/src/gui/windows/registerdialog.h
+++ b/src/gui/windows/registerdialog.h
@@ -32,25 +32,7 @@ class Button;
class LoginData;
class RadioButton;
class TextField;
-
-/**
- * Listener used while dealing with wrong data. It is used to direct the focus
- * to the field which contained wrong data when the Ok button was pressed on
- * the error notice.
- */
-class WrongDataNoticeListener final : public ActionListener
-{
- public:
- WrongDataNoticeListener();
-
- A_DELETE_COPY(WrongDataNoticeListener)
-
- void setTarget(TextField *const textField);
-
- void action(const ActionEvent &event) override final;
- private:
- TextField *mTarget;
-};
+class WrongDataNoticeListener;
/**
* The registration dialog.