From e81136d0a534404800d29b3720d5d9c86506b580 Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Fri, 14 Jul 2006 20:13:48 +0000 Subject: [PATCH] updated clear automation method name git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@233 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/core/song_editor.cpp | 2 +- src/widgets/automatable_slider.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/song_editor.cpp b/src/core/song_editor.cpp index b56ee799c..233174272 100644 --- a/src/core/song_editor.cpp +++ b/src/core/song_editor.cpp @@ -1406,7 +1406,7 @@ void songEditor::clearProject( void ) clearAllTracks(); eng()->getAutomationEditor()->setCurrentPattern( NULL ); - m_bpmSpinBox->getAutomationPattern()->clearValues(); + m_bpmSpinBox->getAutomationPattern()->clear(); m_masterVolumeSlider->clearAutomationValues(); m_masterPitchSlider->clearAutomationValues(); diff --git a/src/widgets/automatable_slider.cpp b/src/widgets/automatable_slider.cpp index 148d533f6..9adc244d8 100644 --- a/src/widgets/automatable_slider.cpp +++ b/src/widgets/automatable_slider.cpp @@ -220,7 +220,7 @@ int automatableSlider::logicValue( void ) void automatableSlider::clearAutomationValues( void ) { - m_knob->getAutomationPattern()->clearValues(); + m_knob->getAutomationPattern()->clear(); }