From 5dfd6a31e6111e53711bd5380f11ab5914b39633 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Mon, 23 Oct 2017 08:50:21 +0200 Subject: [PATCH] Fixup - remove unnecessary cast --- src/gui/editors/AutomationEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/AutomationEditor.cpp b/src/gui/editors/AutomationEditor.cpp index 747ffc2334b..8657e734245 100644 --- a/src/gui/editors/AutomationEditor.cpp +++ b/src/gui/editors/AutomationEditor.cpp @@ -684,7 +684,7 @@ void AutomationEditor::mouseReleaseEvent(QMouseEvent * mouseEvent ) void AutomationEditor::removePoints( int x0, int x1 ) { - int deltax = qRound( qAbs( x1 - x0 ) ); + int deltax = qAbs( x1 - x0 ); int x = x0; int xstep;