Merge pull request #463 from poixen/chatlinkunderline

Added underline to links in chat
This commit is contained in:
Gavin Bisesi 2014-12-01 09:27:42 -05:00
commit 0be45e3969

View file

@ -77,6 +77,8 @@ void ChatView::appendUrlTag(QTextCursor &cursor, QString url)
anchorFormat.setForeground(Qt::blue);
anchorFormat.setAnchor(true);
anchorFormat.setAnchorHref(url);
anchorFormat.setUnderlineColor(Qt::blue);
anchorFormat.setFontUnderline(true);
cursor.setCharFormat(anchorFormat);
cursor.insertText(url);