diff options
-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; |