Fix warning issued by gcc-6.1

This commit is contained in:
Daniel Winzen
2016-05-06 15:58:02 +02:00
parent 015efb7bc4
commit 6a0811b9a6

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 );