Fixed corner tileSet color in drawTitleOutline mode.
svn path=/trunk/KDE/kdebase/workspace/; revision=1168083
This commit is contained in:
parent
22bbd02a03
commit
0f3a02e265
1 changed files with 7 additions and 2 deletions
|
@ -1348,14 +1348,19 @@ namespace Oxygen
|
|||
{
|
||||
|
||||
TileSet *tileSet( 0 );
|
||||
QColor background( backgroundPalette( widget(), palette ).window().color() );
|
||||
ShadowCache::Key key( this->key() );
|
||||
if( configuration().useOxygenShadows() && glowIsAnimated() && !isForcedActive() )
|
||||
{
|
||||
|
||||
QColor background( backgroundPalette( widget(), palette ).window().color() );
|
||||
tileSet = shadowCache().tileSet( background, key, glowIntensity() );
|
||||
|
||||
} else tileSet = shadowCache().tileSet( background, key );
|
||||
} else {
|
||||
|
||||
QColor background( backgroundColor( widget(), palette ) );
|
||||
tileSet = shadowCache().tileSet( background, key );
|
||||
|
||||
}
|
||||
|
||||
if( !isMaximized() ) tileSet->render( frame.adjusted( 4, 4, -4, -4), &painter, TileSet::Ring);
|
||||
else if( isShade() ) tileSet->render( frame.adjusted( 0, 4, 0, -4), &painter, TileSet::Bottom);
|
||||
|
|
Loading…
Reference in a new issue