projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
61e0633
)
Don't quote URLs, fixes BR #379
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 4 Nov 2008 20:54:56 +0000
(21:54 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Tue, 4 Nov 2008 20:54:56 +0000
(21:54 +0100)
src/qtui/chatitem.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
d1443a6
..
b04083b
100644
(file)
--- 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;
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...
break;
case Clickable::Channel:
// TODO join or whatever...