use the proper color for the deco scratches. maybe will use a "detail

color" in the future.

svn path=/trunk/KDE/kdebase/workspace/; revision=822883
This commit is contained in:
Stefan Monov 2008-06-21 20:53:52 +00:00
parent 7453006a5d
commit 42af09e89f

View file

@ -408,7 +408,7 @@ void OxygenClient::drawScratch(QPainter *p, QPalette &palette, const int start,
{
QLinearGradient scratchlg(QPoint(start,0), QPoint(end,0));
scratchlg.setColorAt(0.0, Qt::transparent);
scratchlg.setColorAt(0.05, palette.color(QPalette::Highlight));
scratchlg.setColorAt(0.05, KDecoration::options()->color(ColorTitleBar));
scratchlg.setColorAt(1.0, Qt::transparent);
QPen pen1(scratchlg, 0.5);