File 0203-qtexthtmlparser-link-color.diff of Package libQtWebKit-devel
qt-bugs@ issue : none
Trolltech task ID : none
applied: yes
author: Rafael Fernández López <ereslibre@kde.org>
Links are assigned a foreground color according to the system current color scheme.
--- src/gui/text/qtexthtmlparser.cpp (revisión: 745183)
+++ src/gui/text/qtexthtmlparser.cpp (copia de trabajo)
@@ -1031,7 +1031,7 @@ void QTextHtmlParserNode::initializeProp
&& !attributes.at(i + 1).isEmpty()) {
hasHref = true;
charFormat.setUnderlineStyle(QTextCharFormat::SingleUnderline);
- charFormat.setForeground(Qt::blue);
+ charFormat.setForeground(QApplication::palette().link());
}
}