diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-13 04:24:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-13 04:24:38 +0300 |
commit | afa96f1f3deed2fff72a7ea7ed8aadc70f560360 (patch) | |
tree | ed5bb2b2c7c3284e83dad824ff867f4d1f5decd1 /src/gui/windows | |
parent | 9e400ed9be599e9d74bae6422f8c7e458a016de0 (diff) | |
download | mv-afa96f1f3deed2fff72a7ea7ed8aadc70f560360.tar.gz mv-afa96f1f3deed2fff72a7ea7ed8aadc70f560360.tar.bz2 mv-afa96f1f3deed2fff72a7ea7ed8aadc70f560360.tar.xz mv-afa96f1f3deed2fff72a7ea7ed8aadc70f560360.zip |
Remove unused interface from serverinfowindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/serverinfowindow.cpp | 9 | ||||
-rw-r--r-- | src/gui/windows/serverinfowindow.h | 9 |
2 files changed, 2 insertions, 16 deletions
diff --git a/src/gui/windows/serverinfowindow.cpp b/src/gui/windows/serverinfowindow.cpp index 99c0a902a..be5c47b00 100644 --- a/src/gui/windows/serverinfowindow.cpp +++ b/src/gui/windows/serverinfowindow.cpp @@ -38,7 +38,6 @@ ServerInfoWindow::ServerInfoWindow(ServerInfo &serverInfo) : // TRANSLATORS: servers dialog name Window(_("Server info"), Modal_false, nullptr, "server_info.xml"), LinkHandler(), - ActionListener(), mServerInfo(serverInfo), mBrowserBox(new BrowserBox(this, BrowserBoxMode::AUTO_SIZE, Opaque_true, "browserbox.xml")), @@ -83,14 +82,6 @@ ServerInfoWindow::~ServerInfoWindow() { } -void ServerInfoWindow::action(const ActionEvent &event) -{ - const std::string &eventId = event.getId(); - if (eventId == "close") - { - } -} - void ServerInfoWindow::handleLink(const std::string &link, MouseEvent *const event A_UNUSED) { diff --git a/src/gui/windows/serverinfowindow.h b/src/gui/windows/serverinfowindow.h index 630bc733d..f3e2b545e 100644 --- a/src/gui/windows/serverinfowindow.h +++ b/src/gui/windows/serverinfowindow.h @@ -25,8 +25,6 @@ #include "gui/widgets/linkhandler.h" -#include "listeners/actionlistener.h" - #include "net/serverinfo.h" class BrowserBox; @@ -34,11 +32,10 @@ class ScrollArea; class ServerInfo; class ServerInfoWindow final : public Window, - public LinkHandler, - public ActionListener + public LinkHandler { public: - ServerInfoWindow(ServerInfo &serverInfo); + explicit ServerInfoWindow(ServerInfo &serverInfo); A_DELETE_COPY(ServerInfoWindow) @@ -46,8 +43,6 @@ class ServerInfoWindow final : public Window, ~ServerInfoWindow(); - void action(const ActionEvent &event) override final; - void handleLink(const std::string &link, MouseEvent *const event A_UNUSED) override final; |