-
Notifications
You must be signed in to change notification settings - Fork 223
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
Minor refactoring of main cpp #3191
Minor refactoring of main cpp #3191
Conversation
2f0d43a
to
e16bd48
Compare
56def36
to
582eee0
Compare
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.
Main open question:
State of translation of CLI
See #3195 |
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.
Ok. Otherwise it looks good. Thanks
https://github.com/jamulussoftware/jamulus/actions/runs/6736061602 The MacOS Legacy build has failed twice... I'll kick it again. |
Short description of changes
There are four very small changes to tidy up
src/main.ccp
in this pull request:This commit literally adjusts spacing for consistency.
To avoid strange handling of a
{ ... }
block, I've adjusted a#ifdef
position and duplicated a line of code.At the point
bUseTranslation
is used, we will only use the result in the GUI, so code adjusted to avoid duplication.We always declare and assign
pApp
to something with anexec()
method and we only create one instance that can be executed, so duplicate code removed for clarity.CHANGELOG: Refactor src/main.cpp
Context: Fixes an issue?
Refactoring for good code hygiene.
Does this change need documentation? What needs to be documented and how?
No change to application behaviour.
Status of this Pull Request
Can be merged.
What is missing until this pull request can be merged?
Can be merged after review.
Checklist