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

svn path=/trunk/KDE/kdebase/workspace/; revision=1034926
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-10-13 23:21:34 +00:00
parent e86e8589d6
commit 9044453b35
1 changed files with 4 additions and 1 deletions

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.