Commit eb1ed48e authored by David Jarvie's avatar David Jarvie

Improve contrast between read-write and read-only calendar colours

parent 8d26d5be
......@@ -880,7 +880,7 @@ QColor AkonadiModel::foregroundColor(const Akonadi::Collection& collection, cons
else if (mimeTypes.contains(KAlarmCal::MIME_TEMPLATE))
colour = KColorScheme(QPalette::Active).foreground(KColorScheme::LinkText).color();
if (colour.isValid() && isWritable(collection) <= 0)
return KColorUtils::lighten(colour, 0.25);
return KColorUtils::lighten(colour, 0.2);
return colour;
}
......
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