diff options
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 7be4287b5..bb5e3e29a 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -187,7 +187,8 @@ void ItemLinkHandler::handleLink(const std::string &link, if (link.empty()) return; - if (strStartWith(link, "http://") || strStartWith(link, "https://")) + if (strStartWith(link, "http://") || strStartWith(link, "https://") || + strStartWith(link, "ftp://")) { handleHttpLink(link, event); } |