fixed colors to use oxygenHelper

svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
This commit is contained in:
Hugo Pereira Da Costa 2009-10-15 17:47:55 +00:00
parent e26538e368
commit 5286a2f849

View file

@ -123,9 +123,9 @@ namespace Oxygen
{
// get relevant colors
QColor base( palette().brush( (client().isActive() ) ? QPalette::Active : QPalette::Inactive, QPalette::Button ).color() );
QColor dark( base.darker(250) );
QColor light( base.darker(150) );
QColor base( client().backgroundColor( this, palette(), client().isActive() ) );
QColor light( client().helper().calcDarkColor( base ) );
QColor dark( client().helper().calcDarkColor( base.darker(150) ) );
// create and configure painter
QPainter painter(this);