Sync r822883 from oxygen.

svn path=/trunk/KDE/kdebase/workspace/; revision=842512
This commit is contained in:
Luboš Luňák 2008-08-05 12:56:56 +00:00
parent a82450af5e
commit e981508f42

View file

@ -412,7 +412,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);