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/popups | |
parent | 85e89895c4f7a53721a6bd93b47a79d5537d263a (diff) | |
download | plus-0d73f54f842a9690c65faedf094112017fd07430.tar.gz plus-0d73f54f842a9690c65faedf094112017fd07430.tar.bz2 plus-0d73f54f842a9690c65faedf094112017fd07430.tar.xz plus-0d73f54f842a9690c65faedf094112017fd07430.zip |
move actionevent into events directory.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 | ||||
-rw-r--r-- | src/gui/popups/popupmenu.h | 4 |
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; } |