Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9d1d433e authored by Sandro Knauß's avatar Sandro Knauß

QColor::dark and QColor::light are deprecated.

use QColor::darker and QColor::lighter instead.
parent 7a99a0ff
......@@ -55,10 +55,10 @@ QString EnterpriseHeaderStyle::format(KMime::Message *message) const
QString linkColor = QStringLiteral("class =\"white\"");
const QColor activeColor = KColorScheme(QPalette::Active, KColorScheme::Selection).
background().color();
QColor activeColorDark = activeColor.dark(130);
QColor activeColorDark = activeColor.darker(130);
// reverse colors for encapsulated
if (!isTopLevel()) {
activeColorDark = activeColor.dark(50);
activeColorDark = activeColor.darker(50);
fontColor = QColor(Qt::black);
linkColor = QStringLiteral("class =\"black\"");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment