Coments editor should not explicitly underline inserted links

This commit is contained in:
Kovid Goyal 2019-10-02 12:23:50 +05:30
parent 18398aafea
commit 113be27352
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -579,7 +579,6 @@ class EditorWidget(QTextEdit, LineEditECM): # {{{
fmt = QTextCharFormat()
fmt.setAnchor(True)
fmt.setAnchorHref(url)
fmt.setFontUnderline(True)
fmt.setForeground(QBrush(QColor('blue')))
if name or not c.hasSelection():
c.mergeCharFormat(fmt)