Skip to content

Commit

Permalink
Clean up an old foreach in MusicXML import pass2
Browse files Browse the repository at this point in the history
Duplicate of musescore#8412, part 7
  • Loading branch information
iveshenry18 authored and Jojo-Schmitz committed May 12, 2022
1 parent 6926e03 commit 3c40b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2869,7 +2869,7 @@ void MusicXMLParserDirection::direction(const QString& partId,
}

// handle the elems
foreach( auto elem, _elems) {
for (auto elem : _elems) {
// Add element to score later, after collecting all the others and sorting by default-y
// This allows default-y to be at least respected by the order of elements
MusicXMLDelayedDirectionElement* delayedDirection = new MusicXMLDelayedDirectionElement(totalY(), elem, track, placement(), measure, tick + _offset, _isBold);
Expand Down

0 comments on commit 3c40b1f

Please sign in to comment.