[effects/zoom] Remove unused variable
This commit is contained in:
parent
95449e0843
commit
a64fd14f9a
1 changed files with 0 additions and 1 deletions
|
@ -261,7 +261,6 @@ void ZoomEffect::prePaintScreen(ScreenPrePaintData& data, int time)
|
|||
{
|
||||
if (zoom != target_zoom) {
|
||||
const float zoomDist = qAbs(target_zoom - source_zoom);
|
||||
double diff = time / animationTime(500.0);
|
||||
if (target_zoom > zoom)
|
||||
zoom = qMin(zoom + ((zoomDist * time) / animationTime(150*zoomFactor)), target_zoom);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue