Warnings--: remove set-but-unused variable
Maybe something left over from debugging?
This commit is contained in:
parent
1a18eb97ad
commit
9c2b53dd04
1 changed files with 0 additions and 2 deletions
|
@ -259,9 +259,7 @@ void ZoomEffect::reconfigure(ReconfigureFlags)
|
|||
|
||||
void ZoomEffect::prePaintScreen(ScreenPrePaintData& data, int time)
|
||||
{
|
||||
bool altered = false;
|
||||
if (zoom != target_zoom) {
|
||||
altered = true;
|
||||
const float zoomDist = qAbs(target_zoom - source_zoom);
|
||||
if (target_zoom > zoom)
|
||||
zoom = qMin(zoom + ((zoomDist * time) / animationTime(150*zoomFactor)), target_zoom);
|
||||
|
|
Loading…
Reference in a new issue