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:
parent
7453006a5d
commit
42af09e89f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue