From 4e127a78df5e41a554beeb919bd7540ae2108f4e Mon Sep 17 00:00:00 2001 From: TheTravelingSpaceman Date: Sun, 12 Mar 2017 19:37:55 +0200 Subject: [PATCH] Revert "Added Brackets" This reverts commit ff801868b766708f7712ac613db415ee045b74ba. --- src/gui/editors/AutomationEditor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gui/editors/AutomationEditor.cpp b/src/gui/editors/AutomationEditor.cpp index 17adf7468..a7ceee13a 100644 --- a/src/gui/editors/AutomationEditor.cpp +++ b/src/gui/editors/AutomationEditor.cpp @@ -1334,13 +1334,9 @@ void AutomationEditor::paintEvent(QPaintEvent * pe ) float nextValue; if ( m_pattern->valuesAfter( ( it + 1 ).key() ) != NULL ) - { nextValue = *( m_pattern->valuesAfter( ( it + 1 ).key() ) ); - } else - { nextValue = values[ ( it + 1 ).key() - it.key() -1 ]; - } p.setRenderHints( QPainter::Antialiasing, true ); QPainterPath path;