X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=b04083b64b2b9adecd0dd27c390d09993884adba;hp=d1443a680ff7c664dab184472595fcf2ad39ce4a;hb=2ae23da65ad59bb8a08dc8a58e6b5e902eb3c0d5;hpb=61e0633ce94a38e669382c29db498f335d2e0fa8 diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index d1443a68..b04083b6 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -457,7 +457,7 @@ void ContentsChatItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) { case Clickable::Url: if(!str.contains("://")) str = "http://" + str; - QDesktopServices::openUrl(str); + QDesktopServices::openUrl(QUrl::fromEncoded(str.toAscii())); break; case Clickable::Channel: // TODO join or whatever...