summaryrefslogtreecommitdiff
path: root/src/gui/windows/worldselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r--src/gui/windows/worldselectdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp
index 48be8df8a..5d81e249e 100644
--- a/src/gui/windows/worldselectdialog.cpp
+++ b/src/gui/windows/worldselectdialog.cpp
@@ -134,7 +134,7 @@ WorldSelectDialog::~WorldSelectDialog()
mWorldListModel = nullptr;
}
-void WorldSelectDialog::action(const gcn::ActionEvent &event)
+void WorldSelectDialog::action(const ActionEvent &event)
{
const std::string &eventId = event.getId();
if (eventId == "world")
@@ -160,12 +160,12 @@ void WorldSelectDialog::keyPressed(gcn::KeyEvent &keyEvent)
if (actionId == static_cast<int>(Input::KEY_GUI_CANCEL))
{
- action(gcn::ActionEvent(nullptr,
+ action(ActionEvent(nullptr,
mChangeLoginButton->getActionEventId()));
}
else if (actionId == static_cast<int>(Input::KEY_GUI_SELECT)
|| actionId == static_cast<int>(Input::KEY_GUI_SELECT2))
{
- action(gcn::ActionEvent(nullptr, mChooseWorld->getActionEventId()));
+ action(ActionEvent(nullptr, mChooseWorld->getActionEventId()));
}
}