Don't set curveshape twice, caught by Andre Duffeck

svn path=/trunk/KDE/kdebase/workspace/; revision=799113
This commit is contained in:
Sebastian Kügler 2008-04-20 12:56:46 +00:00
parent e4ecf50281
commit 9075540ef0

View file

@ -74,7 +74,6 @@ void CoverSwitchEffect::prePaintScreen( ScreenPrePaintData& data, int time )
double progress = qMin( 1.0, timeLine.value() + time / double( animationDuration )); double progress = qMin( 1.0, timeLine.value() + time / double( animationDuration ));
timeLine.setProgress(progress); timeLine.setProgress(progress);
timeLine.setCurveShape(TimeLine::EaseInOutCurve); timeLine.setCurveShape(TimeLine::EaseInOutCurve);
timeLine.setCurveShape(TimeLine::LinearCurve);
} }
} }
effects->prePaintScreen(data, time); effects->prePaintScreen(data, time);