Skip to content

Commit

Permalink
Compat support for vocoder rename
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed May 15, 2016
1 parent 34081f0 commit f2b611b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/core/DataFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,15 @@ void DataFile::upgrade_1_1_91()
s.replace( QRegExp("/samples/bassloopes/"), "/samples/bassloops/" );
el.setAttribute( "src", s );
}

list = elementsByTagName( "attribute" );
for( int i = 0; !list.item( i ).isNull(); ++i )
{
QDomElement el = list.item( i ).toElement();
if ( el.attribute( "name" ) == "plugin" && el.attribute( "value" ) == "vocoder-lmms" ) {
el.setAttribute( "value", "vocoder" );
}
}
}


Expand Down

0 comments on commit f2b611b

Please sign in to comment.