diff --git a/src/core/EnvelopeAndLfoParameters.cpp b/src/core/EnvelopeAndLfoParameters.cpp index ef23654d3..cfa0e8dbb 100644 --- a/src/core/EnvelopeAndLfoParameters.cpp +++ b/src/core/EnvelopeAndLfoParameters.cpp @@ -380,22 +380,12 @@ void EnvelopeAndLfoParameters::loadSettings( const QDomElement & _this ) /* ### TODO: Old reversed sustain kept for backward compatibility with 4.15 file format*/ - if( _this.hasAttribute( "sus" ) ) { m_sustainModel.loadSettings( _this, "sus" ); m_sustainModel.setValue( 1.0 - m_sustainModel.value() ); } - // ### TODO: -/* // Keep compatibility with version 2.1 file format - if( _this.hasAttribute( "lfosyncmode" ) ) - { - m_lfoSpeedKnob->setSyncMode( - ( TempoSyncKnob::TtempoSyncMode ) _this.attribute( - "lfosyncmode" ).toInt() ); - }*/ - m_userWave.setAudioFile( _this.attribute( "userwavefile" ) ); updateSampleVars(); diff --git a/src/core/InstrumentFunctions.cpp b/src/core/InstrumentFunctions.cpp index 4bcbbb9f4..5a87b54dd 100644 --- a/src/core/InstrumentFunctions.cpp +++ b/src/core/InstrumentFunctions.cpp @@ -547,7 +547,6 @@ void InstrumentFunctionArpeggio::saveSettings( QDomDocument & _doc, QDomElement m_arpTimeModel.saveSettings( _doc, _this, "arptime" ); m_arpGateModel.saveSettings( _doc, _this, "arpgate" ); m_arpDirectionModel.saveSettings( _doc, _this, "arpdir" ); - m_arpModeModel.saveSettings( _doc, _this, "arpmode" ); } @@ -565,14 +564,5 @@ void InstrumentFunctionArpeggio::loadSettings( const QDomElement & _this ) m_arpTimeModel.loadSettings( _this, "arptime" ); m_arpGateModel.loadSettings( _this, "arpgate" ); m_arpDirectionModel.loadSettings( _this, "arpdir" ); -/* - // Keep compatibility with version 0.2.1 file format - if( _this.hasAttribute( "arpsyncmode" ) ) - { - m_arpTimeKnob->setSyncMode( - ( tempoSyncKnob::tempoSyncMode ) _this.attribute( - "arpsyncmode" ).toInt() ); - }*/ - m_arpModeModel.loadSettings( _this, "arpmode" ); }