fixed colors to use oxygenHelper
svn path=/trunk/KDE/kdebase/workspace/; revision=1035714
This commit is contained in:
parent
e26538e368
commit
5286a2f849
1 changed files with 3 additions and 3 deletions
|
@ -123,9 +123,9 @@ namespace Oxygen
|
||||||
{
|
{
|
||||||
|
|
||||||
// get relevant colors
|
// get relevant colors
|
||||||
QColor base( palette().brush( (client().isActive() ) ? QPalette::Active : QPalette::Inactive, QPalette::Button ).color() );
|
QColor base( client().backgroundColor( this, palette(), client().isActive() ) );
|
||||||
QColor dark( base.darker(250) );
|
QColor light( client().helper().calcDarkColor( base ) );
|
||||||
QColor light( base.darker(150) );
|
QColor dark( client().helper().calcDarkColor( base.darker(150) ) );
|
||||||
|
|
||||||
// create and configure painter
|
// create and configure painter
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
|
Loading…
Reference in a new issue