summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp4
-rw-r--r--src/gui/popups/popupmenu.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 343baba01..197a9f716 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2859,7 +2859,7 @@ void RenameListener::setMapItem(MapItem *const mapItem)
}
}
-void RenameListener::action(const gcn::ActionEvent &event)
+void RenameListener::action(const ActionEvent &event)
{
if (event.getId() == "ok" && viewport && mDialog)
{
@@ -2893,7 +2893,7 @@ PlayerListener::PlayerListener() :
{
}
-void PlayerListener::action(const gcn::ActionEvent &event)
+void PlayerListener::action(const ActionEvent &event)
{
if (event.getId() == "ok" && !mNick.empty() && mDialog)
{
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index a79dd3162..235c809ba 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -54,7 +54,7 @@ class RenameListener final : public ActionListener
A_DELETE_COPY(RenameListener)
- void action(const gcn::ActionEvent &event) override final;
+ void action(const ActionEvent &event) override final;
void setMapItem(MapItem *const mapItem);
@@ -74,7 +74,7 @@ class PlayerListener : public ActionListener
A_DELETE_COPY(PlayerListener)
- void action(const gcn::ActionEvent &event) override final;
+ void action(const ActionEvent &event) override final;
void setNick(std::string name)
{ mNick = name; }