SVN commit 1069551 by lunakl: backport r1069550: Use KColorUtils::lighten/darken instead of Color::ligher/darker - the latter for whatever reason turns #ffc0c0 to some kind of grey. M +3 -2 systemloadviewer.cpp --- branches/KDE/4.3/kdeplasma-addons/applets/systemloadviewer/systemloadviewer.cpp #1069550:1069551 @@ -26,6 +26,7 @@ #include #include +#include #include @@ -467,8 +468,8 @@ { if (rect.height() > 0.0) { static QLinearGradient grad(0.0, 0.0, 1.0, 0.0); - grad.setColorAt(0, color.lighter()); - grad.setColorAt(1, color.darker()); + grad.setColorAt(0, KColorUtils::lighten(color)); + grad.setColorAt(1, KColorUtils::darken(color)); QBrush brush(grad); p->setBrush(brush); p->setPen(QPen(brush, 0));