summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index fbbb69cd0..1fc124b16 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -27,6 +27,7 @@
#include "gui/widgets/popup.h"
#include "listeners/actionlistener.h"
+#include "listeners/playerlistener.h"
#include "listeners/renamelistener.h"
#include "localconsts.h"
@@ -47,30 +48,6 @@ class TextField;
class ProgressBar;
class Window;
-class PlayerListener : public ActionListener
-{
- public:
- PlayerListener();
-
- A_DELETE_COPY(PlayerListener)
-
- void action(const ActionEvent &event) override final;
-
- void setNick(const std::string &name)
- { mNick = name; }
-
- void setDialog(TextDialog *const dialog)
- { mDialog = dialog; }
-
- void setType(const int type)
- { mType = type; }
-
- private:
- std::string mNick;
- TextDialog *mDialog;
- int mType;
-};
-
/**
* Window showing popup menu.
*/