Rename OPL2 to OpulenZ

This commit is contained in:
tresf
2017-11-10 00:30:19 -05:00
committed by Tres Finocchiaro
parent dce32bede9
commit 289887f4fc
19 changed files with 64 additions and 55 deletions

View File

@@ -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" );
}
}
}
}