projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hand QUrl a UTF-8 string instead of ASCII
[quassel.git]
/
src
/
qtui
/
chatitem.cpp
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
433d8d6
..
e3e9ad7
100644
(file)
--- 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;
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...
break;
case Clickable::Channel:
// TODO join or whatever...