blob: 1e091b737e6b91c9380a00cbf7e17081119f2b64 (
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
+++ b/src/gui/text/qtexthtmlparser.cpp
@@ -1053,7 +1053,7 @@
&& !attributes.at(i + 1).isEmpty()) {
hasHref = true;
charFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline);
- charFormat.setForeground(Qt::blue);
+ charFormat.setForeground(QApplication::palette().link());
}
}
|