diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:06:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 03:07:44 +0300 |
commit | 5c50beef4fca106a843e9370ed40e5ef9d60bac3 (patch) | |
tree | 46c74d648832114944dfb183d1a52d84baaca85c /src/gui/widgets | |
parent | 0f67a984182336dac85b15e55cbe3bb11c29424a (diff) | |
download | manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.gz manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.bz2 manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.tar.xz manaplus-5c50beef4fca106a843e9370ed40e5ef9d60bac3.zip |
Add https support to link handlers.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index d9c7ca838..24b487f53 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -64,7 +64,7 @@ ItemLinkHandler::~ItemLinkHandler() void ItemLinkHandler::handleLink(const std::string &link, gcn::MouseEvent *event) { - if (!strStartWith(link, "http://")) + if (!strStartWith(link, "http://") && !strStartWith(link, "https://")) { if (!mItemPopup) return; |