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

Fix missing initialization #7271

Merged

Conversation

michaelgregorius
Copy link
Contributor

@michaelgregorius michaelgregorius commented May 20, 2024

Fix the missing initialization of some variables in TrackContentWidget. This led to some performances issues when the widget was painted because a for loop was executed for which the variable started at a very large negative number and was then incremented.

Related to #7034.

Fix the missing initialization of some variables in `TrackContentWidget`.
This led to some performances issues when the widget was painted because
a for loop was executed for which the variable started at a very large
negative number and was then incremented.
@zonkmachine
Copy link
Member

Also #7270

@michaelgregorius michaelgregorius merged commit 75d6be2 into LMMS:master May 20, 2024
9 checks passed
@michaelgregorius michaelgregorius deleted the 7034-FixPerformanceProblem branch May 20, 2024 16:47
Rossmaxx pushed a commit that referenced this pull request May 21, 2024
Fix the missing initialization of some variables in `TrackContentWidget`.
This led to some performances issues when the widget was painted because
a for loop was executed for which the variable started at a very large
negative number and was then incremented.
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.

2 participants