diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-12 14:42:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-12 14:42:00 +0300 |
commit | 251cd4a76fd2b986a1153909eb4e8893d6014c68 (patch) | |
tree | ae579d6b42f6093b608e1e8cbf467b504eec77ac /src/gui | |
parent | 626ad765c5173ff73d4bb6bcab2584ca39216927 (diff) | |
download | plus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.gz plus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.bz2 plus-251cd4a76fd2b986a1153909eb4e8893d6014c68.tar.xz plus-251cd4a76fd2b986a1153909eb4e8893d6014c68.zip |
Add space at end of chat url link.
Remove spaces before opening link.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); } } |