Merge pull request #2757 from DanWin/master

Fix warning issued by gcc-6.1
This commit is contained in:
Tres Finocchiaro
2016-05-06 15:28:22 +01:00

View File

@@ -202,7 +202,7 @@ void malletsInstrument::loadSettings( const QDomElement & _this )
default of 0.2. 0.2 * 128.0 = 25.6 */
m_vibratoGainModel.setValue( 25.6f );
}
if( ! m_presetsModel.value() == 1 )
if( m_presetsModel.value() != 1 )
{
// Frequency actually worked for Vibraphone!
m_vibratoFreqModel.setValue( 0.0f );