From 6367003af538261bacfcf8454b3b7e4fe68c2c85 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 12 May 2010 01:43:52 +0000 Subject: [PATCH] added more points to the outer gradient, so that it is smoother svn path=/trunk/KDE/kdebase/workspace/; revision=1125709 --- clients/oxygen/oxygenshadowcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/oxygen/oxygenshadowcache.cpp b/clients/oxygen/oxygenshadowcache.cpp index 46020d42a6..c37ae94eec 100644 --- a/clients/oxygen/oxygenshadowcache.cpp +++ b/clients/oxygen/oxygenshadowcache.cpp @@ -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++ )