summaryrefslogtreecommitdiff
path: root/src/gui/windows/editserverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-16 12:22:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-16 12:28:10 +0300
commit0d73f54f842a9690c65faedf094112017fd07430 (patch)
treeca009ae0b366a95ad9c0fef1fa518ad60f8dbac2 /src/gui/windows/editserverdialog.cpp
parent85e89895c4f7a53721a6bd93b47a79d5537d263a (diff)
downloadmanaplus-0d73f54f842a9690c65faedf094112017fd07430.tar.gz
manaplus-0d73f54f842a9690c65faedf094112017fd07430.tar.bz2
manaplus-0d73f54f842a9690c65faedf094112017fd07430.tar.xz
manaplus-0d73f54f842a9690c65faedf094112017fd07430.zip
move actionevent into events directory.
Diffstat (limited to 'src/gui/windows/editserverdialog.cpp')
-rw-r--r--src/gui/windows/editserverdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/editserverdialog.cpp b/src/gui/windows/editserverdialog.cpp
index ee375a86e..d8301f5ce 100644
--- a/src/gui/windows/editserverdialog.cpp
+++ b/src/gui/windows/editserverdialog.cpp
@@ -198,7 +198,7 @@ void EditServerDialog::postInit()
mNameField->requestFocus();
}
-void EditServerDialog::action(const gcn::ActionEvent &event)
+void EditServerDialog::action(const ActionEvent &event)
{
const std::string &eventId = event.getId();
@@ -299,6 +299,6 @@ void EditServerDialog::keyPressed(gcn::KeyEvent &keyEvent)
else if (actionId == static_cast<int>(Input::KEY_GUI_SELECT)
|| actionId == static_cast<int>(Input::KEY_GUI_SELECT2))
{
- action(gcn::ActionEvent(nullptr, mOkButton->getActionEventId()));
+ action(ActionEvent(nullptr, mOkButton->getActionEventId()));
}
}