diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-12 13:26:25 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-13 09:33:44 +0100 |
commit | 9ae6062150d7df2f64a5962a7871d26b47d291b5 (patch) | |
tree | f3d32666dcdc6cedf61d815da742a6c15c22857d /src/gui/widgets/itemlinkhandler.h | |
parent | 306ad2effe4d0897453e61ad787e01dc47c33076 (diff) | |
download | mana-9ae6062150d7df2f64a5962a7871d26b47d291b5.tar.gz mana-9ae6062150d7df2f64a5962a7871d26b47d291b5.tar.bz2 mana-9ae6062150d7df2f64a5962a7871d26b47d291b5.tar.xz mana-9ae6062150d7df2f64a5962a7871d26b47d291b5.zip |
Added SDL version check for SDL_OpenURL
Ubuntu 20.04 had SDL 2.0.10, and it is still supported.
Also added error handling to the SDL_OpenURL call, just in case.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.h')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/widgets/itemlinkhandler.h b/src/gui/widgets/itemlinkhandler.h index 3bb0b557..28e9c11c 100644 --- a/src/gui/widgets/itemlinkhandler.h +++ b/src/gui/widgets/itemlinkhandler.h @@ -28,7 +28,6 @@ #include <memory> -class ConfirmDialog; class ItemPopup; class Window; @@ -46,7 +45,6 @@ class ItemLinkHandler : public LinkHandler, gcn::ActionListener private: std::unique_ptr<ItemPopup> mItemPopup; - ConfirmDialog *mConfirmDialog = nullptr; Window *mParent = nullptr; std::string mLink; |