mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
Rename OPL2 to OpulenZ
This commit is contained in:
@@ -984,6 +984,16 @@ void DataFile::upgrade_1_3_0()
|
||||
child.setTagName( "freeboy" );
|
||||
}
|
||||
}
|
||||
else if( el.attribute( "name" ) == "OPL2" )
|
||||
{
|
||||
el.setAttribute( "name", "opulenz" );
|
||||
QDomNodeList children = el.elementsByTagName( "OPL2" );
|
||||
for( int j = 0; !children.item( j ).isNull(); ++j )
|
||||
{
|
||||
QDomElement child = children.item( j ).toElement();
|
||||
child.setTagName( "opulenz" );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user