From ec495716f424296ffdc3577a1feaf8f837f88de9 Mon Sep 17 00:00:00 2001 From: Vesa Date: Mon, 30 Jun 2014 13:04:48 +0300 Subject: [PATCH] Trailing spaces --- src/core/FxMixer.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/core/FxMixer.cpp b/src/core/FxMixer.cpp index 331d2b45d..34985d9de 100644 --- a/src/core/FxMixer.cpp +++ b/src/core/FxMixer.cpp @@ -56,7 +56,7 @@ void FxRoute::updateName() { if( m_amount) { - m_amount->setDisplayName( + m_amount->setDisplayName( tr( "Amount to send from channel %1 to channel %2" ).arg( m_from->m_channelIndex ).arg( m_to->m_channelIndex ) ); } } @@ -242,7 +242,7 @@ void FxMixer::deleteChannel( int index ) // actually delete the channel delete m_fxChannels[index]; m_fxChannels.remove(index); - + for( int i = index; i < m_fxChannels.size(); ++i ) { validateChannelName( i, i + 1 ); @@ -292,7 +292,7 @@ void FxMixer::moveChannelLeft( int index ) FxChannel * tmpChannel = m_fxChannels[a]; m_fxChannels[a] = m_fxChannels[b]; m_fxChannels[b] = tmpChannel; - + validateChannelName( a, b ); validateChannelName( b, a ); } @@ -337,13 +337,13 @@ void FxMixer::createRoute( FxChannel * from, FxChannel * to, float amount ) } m_sendsMutex.lock(); FxRoute * route = new FxRoute( from, to, amount ); - + // add us to from's sends from->m_sends.append( route ); - + // add us to to's receives to->m_receives.append( route ); - + // add us to fxmixer's list engine::fxMixer()->m_fxRoutes.append( route ); m_sendsMutex.unlock(); @@ -398,13 +398,13 @@ bool FxMixer::isInfiniteLoop( fx_ch_t sendFrom, fx_ch_t sendTo ) bool FxMixer::checkInfiniteLoop( FxChannel * from, FxChannel * to ) { // can't send master to anything - if( from == m_fxChannels[0] ) - { + if( from == m_fxChannels[0] ) + { return true; } // can't send channel to itself - if( from == to ) + if( from == to ) { return true; }