diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-15 23:14:41 +0300 |
commit | 9502e9c968fac129ab57d7b0496c874086995b04 (patch) | |
tree | 3709ed6883222be555d39f7a606b674fb67ebb52 /src/net/ea | |
parent | e3ec854f275cc6f79129bbdd3129be277100908f (diff) | |
download | mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.gz mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.bz2 mv-9502e9c968fac129ab57d7b0496c874086995b04.tar.xz mv-9502e9c968fac129ab57d7b0496c874086995b04.zip |
move actionlistener from base into listeners.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/ea/tradehandler.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 3e5db9169..c568012fc 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -60,7 +60,7 @@ namespace /** * Listener used for handling the overweigth message. */ - struct WeightListener final : public gcn::ActionListener + struct WeightListener final : public ActionListener { void action(const gcn::ActionEvent &event A_UNUSED) { @@ -71,7 +71,7 @@ namespace /** * Listener used for handling death message. */ - struct DeathListener final : public gcn::ActionListener + struct DeathListener final : public ActionListener { void action(const gcn::ActionEvent &event A_UNUSED) { diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp index 9457a31db..adecd591f 100644 --- a/src/net/ea/tradehandler.cpp +++ b/src/net/ea/tradehandler.cpp @@ -48,7 +48,7 @@ ConfirmDialog *confirmDlg = nullptr; */ namespace { - struct RequestTradeListener : public gcn::ActionListener + struct RequestTradeListener : public ActionListener { void action(const gcn::ActionEvent &event) { |