Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
0be45e39
Commit
0be45e39
authored
Dec 01, 2014
by
Gavin Bisesi
Browse files
Merge pull request #463 from poixen/chatlinkunderline
Added underline to links in chat
parents
9e1f8a08
52cadd75
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/chatview.cpp
View file @
0be45e39
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment