diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:22:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-16 12:28:10 +0300 |
commit | 0d73f54f842a9690c65faedf094112017fd07430 (patch) | |
tree | ca009ae0b366a95ad9c0fef1fa518ad60f8dbac2 /src/gui/windows/worldselectdialog.cpp | |
parent | 85e89895c4f7a53721a6bd93b47a79d5537d263a (diff) | |
download | mv-0d73f54f842a9690c65faedf094112017fd07430.tar.gz mv-0d73f54f842a9690c65faedf094112017fd07430.tar.bz2 mv-0d73f54f842a9690c65faedf094112017fd07430.tar.xz mv-0d73f54f842a9690c65faedf094112017fd07430.zip |
move actionevent into events directory.
Diffstat (limited to 'src/gui/windows/worldselectdialog.cpp')
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 6 |
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())); } } |