From 251cd4a76fd2b986a1153909eb4e8893d6014c68 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Sep 2012 14:42:00 +0300 Subject: Add space at end of chat url link. Remove spaces before opening link. --- src/gui/widgets/itemlinkhandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index be2c02335..5ba400499 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -77,6 +77,8 @@ void ItemLinkHandler::handleLink(const std::string &link, } else { - openBrowser(link); + std::string url = link; + replaceAll(url, " ", ""); + openBrowser(url); } } -- cgit v1.2.3-70-g09d2