From 4877f93583d503e55dda49c74b5d9caadc3810f8 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 15 Jul 2009 07:44:36 -0700 Subject: [PATCH] Minor syntax formatting change for readability --- plugins/audio_file_processor/audio_file_processor.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/plugins/audio_file_processor/audio_file_processor.cpp b/plugins/audio_file_processor/audio_file_processor.cpp index abdea6a65..3b0c157bf 100644 --- a/plugins/audio_file_processor/audio_file_processor.cpp +++ b/plugins/audio_file_processor/audio_file_processor.cpp @@ -220,14 +220,12 @@ void audioFileProcessor::setAudioFile( const QString & _audio_file, bool _rename ) { // is current channel-name equal to previous-filename?? - if( _rename && - ( getInstrumentTrack()->name() == - QFileInfo( m_sampleBuffer.audioFile() ).fileName() || - m_sampleBuffer.audioFile() == "" ) ) + if( _rename && ( getInstrumentTrack()->name() == + QFileInfo( m_sampleBuffer.audioFile() ).fileName() || + m_sampleBuffer.audioFile() == "" ) ) { // then set it to new one - getInstrumentTrack()->setName( QFileInfo( _audio_file - ).fileName() ); + getInstrumentTrack()->setName( QFileInfo( _audio_file).fileName() ); } // else we don't touch the track-name, because the user named it self