added more points to the outer gradient, so that it is smoother

svn path=/trunk/KDE/kdebase/workspace/; revision=1125709
This commit is contained in:
Hugo Pereira Da Costa 2010-05-12 01:43:52 +00:00
parent cbb4248a2a
commit 6367003af5

View file

@ -297,7 +297,7 @@ namespace Oxygen
QRadialGradient rg = QRadialGradient( size+20.0*hoffset, size+20.0*voffset, gradientSize );
rg.setColorAt(1, Qt::transparent );
int nPoints( (10*gradientSize)/fixedSize );
int nPoints( (20*gradientSize)/fixedSize );
Gaussian f( 0.155, 0.445);
QColor c = shadowConfiguration.outerColor();
for( int i = 0; i < nPoints; i++ )