small cleanup

svn path=/trunk/KDE/kdebase/workspace/; revision=803714
This commit is contained in:
Sebastian Kügler 2008-05-04 01:56:48 +00:00
parent 075dfd549f
commit 3258c2073f

View file

@ -50,7 +50,7 @@ void ScaleInEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Wind
{
if( mTimeLineWindows.contains( w ) && isScaleWindow( w ) )
{
data.opacity *= 0.0 + ( 1 * mTimeLineWindows[ w ].value() );
data.opacity *= mTimeLineWindows[ w ].value();
data.xScale *= mTimeLineWindows[ w ].value();
data.yScale *= mTimeLineWindows[ w ].value();
data.xTranslate += int( w->width() / 2 * ( 1 - mTimeLineWindows[ w ].value() ) );