fixed (tiny) glitch for bottom corners in 'no side border' mode

svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
This commit is contained in:
Hugo Pereira Da Costa 2009-10-13 23:21:34 +00:00
parent e86e8589d6
commit 9044453b35

View file

@ -294,7 +294,10 @@ namespace Oxygen
// this is all fixedSize. Does not scale with shadow size
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.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) );
// draw ellipse.