mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
Drop useless loop from upgrade_1_2_0_rc3 (#3441)
This commit is contained in:
committed by
GitHub
parent
7f97516683
commit
850c827ee4
@@ -914,14 +914,11 @@ void DataFile::upgrade_1_2_0_rc3()
|
||||
{
|
||||
int patternLength, steps;
|
||||
QDomElement el = patterns.item( j ).toElement();
|
||||
for( int k = 0; !patterns.item( k ).isNull(); ++k )
|
||||
if( el.attribute( "len" ) != "" )
|
||||
{
|
||||
if( el.attribute( "len" ) != "" )
|
||||
{
|
||||
patternLength = el.attribute( "len" ).toInt();
|
||||
steps = patternLength / 12;
|
||||
el.setAttribute( "steps", steps );
|
||||
}
|
||||
patternLength = el.attribute( "len" ).toInt();
|
||||
steps = patternLength / 12;
|
||||
el.setAttribute( "steps", steps );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user