Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collected code cleanups #23159

Merged
merged 14 commits into from
Jun 10, 2024
Merged

Collected code cleanups #23159

merged 14 commits into from
Jun 10, 2024

Conversation

cbjeukendrup
Copy link
Contributor

No description provided.

@cbjeukendrup cbjeukendrup merged commit 1d4691f into musescore:master Jun 10, 2024
11 checks passed
{
if (!m_inited) {
Copy link
Contributor

@wizofaus wizofaus Jun 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change appears to have broken the Format|Style dialog? For me at least, load() is never getting called. I believe it's in the case where you have checkboxes in QML with their checked property initialise as, e.g.:

checked: modelData.value === restsPageModel.multiVoiceRestTwoSpaceOffset.value

(there are multiple such examples). Looks to me like calling load() from "onCompleted" is too late. Various ways it could be fixed but I'll leave it to you, I have my own kludgy fix (similar to old code that just calls load() as required, requiring const_cast) that allows me to do what I need to!

@cbjeukendrup

@cbjeukendrup cbjeukendrup deleted the cleanup branch June 11, 2024 14:16
@bakajikara bakajikara mentioned this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants