From 5fadfbab5faec52d5ba22fae5046b26740955d52 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Sep 2016 01:02:06 +0300 Subject: Use for links in updater window ItemLinkHandler. --- src/gui/windows/updaterwindow.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gui/windows/updaterwindow.h') diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h index 0d322dccf..30b3ca264 100644 --- a/src/gui/windows/updaterwindow.h +++ b/src/gui/windows/updaterwindow.h @@ -30,7 +30,6 @@ #include "enums/simpletypes/append.h" -#include "gui/widgets/linkhandler.h" #include "gui/widgets/window.h" #include "resources/updatefile.h" @@ -42,6 +41,7 @@ class BrowserBox; class Button; +class ItemLinkHandler; class Label; class ProgressBar; class ScrollArea; @@ -58,7 +58,6 @@ namespace Net */ class UpdaterWindow final : public Window, public ActionListener, - public LinkHandler, public KeyListener { public: @@ -114,9 +113,6 @@ class UpdaterWindow final : public Window, void logic() override final; - void handleLink(const std::string &link, - MouseEvent *const event A_UNUSED) override final; - void loadFile(std::string file); void deleteSelf(); @@ -210,6 +206,7 @@ class UpdaterWindow final : public Window, std::string mUpdateServerPath; + ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER; Label *mLabel A_NONNULLPOINTER; Button *mCancelButton A_NONNULLPOINTER; Button *mPlayButton A_NONNULLPOINTER; -- cgit v1.2.3-70-g09d2