Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add the Microwave synthesizer to LMMS #5000
Add the Microwave synthesizer to LMMS #5000
Changes from 8 commits
6f7190f
45bab95
a3cdd79
5f71d7c
6fa589a
86723c1
0ad13cf
92b7269
2bb614c
3c711cd
708764b
2af226c
43e026b
00a4f23
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BarCenterGradStyle
should go beforeNumGraphStyles
.It's a common idiom in C++ to add an extra enumerator to an enum that isn't used as a normal value of the enum, but instead indicates the number of values the enum can take. Because C++ assigns values sequentially to enumerators (unless you specify them yourself), putting this special enumerator last ensures it automatically has the correct value.
(In this case it doesn't have any effect since we don't seem to use
NumGraphStyles
anywhere, but it ought to be corrected anyway.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be exposed as a
Q_PROPERTY
, like the other colours around it. See the top of the definition of this class for how it's done.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily a problem, but this will probably conflict with #4994. Generally, whoever has their code merged last has to deal with the conflict, but @Reflexe can probably let you know whether there's likely to be a problem here.