X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=e3e9ad74e0863bc11fea8b6d0268b0f2c7b84055;hp=433d8d62c52dff2d187217cc1f7e996b4d8f5014;hb=0fa6a5e570c9d76621781daf38e75b512a12d7cc;hpb=12db1c296a1964d60de7e438306ddedbf809a1bf diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 433d8d62..e3e9ad74 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -507,7 +507,7 @@ void ContentsChatItem::handleClick(const QPointF &pos, ChatScene::ClickMode clic case Clickable::Url: if(!str.contains("://")) str = "http://" + str; - QDesktopServices::openUrl(QUrl::fromEncoded(str.toAscii())); + QDesktopServices::openUrl(QUrl::fromEncoded(str.toUtf8(), QUrl::TolerantMode)); break; case Clickable::Channel: // TODO join or whatever...