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:
parent
cbb4248a2a
commit
6367003af5
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ namespace Oxygen
|
||||||
QRadialGradient rg = QRadialGradient( size+20.0*hoffset, size+20.0*voffset, gradientSize );
|
QRadialGradient rg = QRadialGradient( size+20.0*hoffset, size+20.0*voffset, gradientSize );
|
||||||
rg.setColorAt(1, Qt::transparent );
|
rg.setColorAt(1, Qt::transparent );
|
||||||
|
|
||||||
int nPoints( (10*gradientSize)/fixedSize );
|
int nPoints( (20*gradientSize)/fixedSize );
|
||||||
Gaussian f( 0.155, 0.445);
|
Gaussian f( 0.155, 0.445);
|
||||||
QColor c = shadowConfiguration.outerColor();
|
QColor c = shadowConfiguration.outerColor();
|
||||||
for( int i = 0; i < nPoints; i++ )
|
for( int i = 0; i < nPoints; i++ )
|
||||||
|
|
Loading…
Reference in a new issue