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/charselectdialog.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/charselectdialog.cpp')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index f5b522971..5d447c717 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -70,7 +70,7 @@ class CharDeleteConfirm final : public ConfirmDialog A_DELETE_COPY(CharDeleteConfirm) - void action(const gcn::ActionEvent &event) + void action(const ActionEvent &event) { if (event.getId() == "yes" && mMaster) mMaster->askPasswordForDeletion(mIndex); @@ -205,7 +205,7 @@ void CharSelectDialog::postInit() requestFocus(); } -void CharSelectDialog::action(const gcn::ActionEvent &event) +void CharSelectDialog::action(const ActionEvent &event) { // Check if a button of a character was pressed const gcn::Widget *const sourceParent = event.getSource()->getParent(); @@ -322,7 +322,7 @@ void CharSelectDialog::keyPressed(gcn::KeyEvent &keyEvent) { case Input::KEY_GUI_CANCEL: keyEvent.consume(); - action(gcn::ActionEvent(mSwitchLoginButton, + action(ActionEvent(mSwitchLoginButton, mSwitchLoginButton->getActionEventId())); break; |