fixed (tiny) glitch for bottom corners in 'no side border' mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
This commit is contained in:
parent
e86e8589d6
commit
9044453b35
1 changed files with 4 additions and 1 deletions
|
@ -294,7 +294,10 @@ namespace Oxygen
|
||||||
// this is all fixedSize. Does not scale with shadow size
|
// this is all fixedSize. Does not scale with shadow size
|
||||||
QLinearGradient lg = QLinearGradient(0.0, size-4.5, 0.0, size+4.5);
|
QLinearGradient lg = QLinearGradient(0.0, size-4.5, 0.0, size+4.5);
|
||||||
lg.setColorAt(0.0, helper().calcLightColor( helper().backgroundTopColor(color) ));
|
lg.setColorAt(0.0, helper().calcLightColor( helper().backgroundTopColor(color) ));
|
||||||
lg.setColorAt(0.52, helper().backgroundTopColor(color) );
|
|
||||||
|
if( key.frameBorder < Key::BorderAny && !key.isShade ) lg.setColorAt(0.52, helper().backgroundBottomColor(color) );
|
||||||
|
else lg.setColorAt(0.52, helper().backgroundTopColor(color) );
|
||||||
|
|
||||||
lg.setColorAt(1.0, helper().backgroundBottomColor(color) );
|
lg.setColorAt(1.0, helper().backgroundBottomColor(color) );
|
||||||
|
|
||||||
// draw ellipse.
|
// draw ellipse.
|
||||||
|
|
Loading…
Reference in a new issue