forked from musescore/MuseScore
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #317098: [MusicXML import] check code for white space issues
The MusicXML importer (incorrectly) uses QXmlStreamReader::readNext() to skip to the end of an element. This works correctly only if the element is emtpy, which cannot always be guaranteed. The readNext() calls are replaced by QXmlStreamReader::skipCurrentElement(), which will always work. Backport of musescore#8833, part 2
- Loading branch information
1 parent
55b10a9
commit 153856e
Showing
3 changed files
with
27 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters