blob: 81fc9baafeceac239901417eddf929e278839e73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
qt-bugs@ issue : N190509
Trolltech task ID : 190904 (Status: closed; Version fix: 4.5.0)
applied: no
author: Rafael Fernández López <ereslibre@kde.org>
Links are assigned a foreground color according to the system current color scheme.
--- a/src/gui/text/qtexthtmlparser.cpp (revisión: 745183)
+++ b/src/gui/text/qtexthtmlparser.cpp (copia de trabajo)
@@ -1053,7 +1053,7 @@ void QTextHtmlParserNode::initializeProp
&& !attributes.at(i + 1).isEmpty()) {
hasHref = true;
charFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline);
- charFormat.setForeground(Qt::blue);
+ charFormat.setForeground(QApplication::palette().link());
}
}
|