-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #311520: harmony playback preferences not honored until toggled
Resolves: https://musescore.org/en/node/311520 The new preferences for disabling playback of chord symbols work fine, only ater you've toggled them at least once, which forces them to be written to the ".ini" file. Otherwise, they are not being initialized correctly. This is apparently from the use of QSettings to access the preferences from code within the libmscore folder. This technique is used at least one other place, but it is apparently not reliable with respect to default values. This commit adds new members of MScore class so mscore can write them and libmscore can read them. That is the approach used by most other preferences that need to be accessed from libmscore. In addition, there was a logic error when creating a new score from a template. There was code to handle new scores created from *old* templates, so they wouldn't have chord symbols forced off by the compatibility setting. This code was erroneously being triggered for new templates as well, making it impossible to disable chord symbol playback via a template. That is fixed by performing the same version check used when reading the template.
- Loading branch information
1 parent
9d5d395
commit c7d3364
Showing
7 changed files
with
17 additions
and
11 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
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
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