mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
72a003b4fc
1 changed files with 2 additions and 0 deletions
|
|
@ -77,6 +77,8 @@ void ChatView::appendUrlTag(QTextCursor &cursor, QString url)
|
||||||
anchorFormat.setForeground(Qt::blue);
|
anchorFormat.setForeground(Qt::blue);
|
||||||
anchorFormat.setAnchor(true);
|
anchorFormat.setAnchor(true);
|
||||||
anchorFormat.setAnchorHref(url);
|
anchorFormat.setAnchorHref(url);
|
||||||
|
anchorFormat.setUnderlineColor(Qt::blue);
|
||||||
|
anchorFormat.setFontUnderline(true);
|
||||||
|
|
||||||
cursor.setCharFormat(anchorFormat);
|
cursor.setCharFormat(anchorFormat);
|
||||||
cursor.insertText(url);
|
cursor.insertText(url);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue