-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Change Detune To Pitch Bend in Piano Roll For Stable-1.2 #4194
Change Detune To Pitch Bend in Piano Roll For Stable-1.2 #4194
Conversation
The name of detuneAction is changed into pitchBendAction as well. Fixes Issue LMMS#4174 in order to give a clearer name to the mode in the Piano Roll.
src/gui/editors/PianoRoll.cpp
Outdated
@@ -4077,14 +4077,14 @@ PianoRollWindow::PianoRollWindow() : | |||
QAction* drawAction = editModeGroup->addAction( embed::getIconPixmap( "edit_draw" ), tr( "Draw mode (Shift+D)" ) ); | |||
QAction* eraseAction = editModeGroup->addAction( embed::getIconPixmap( "edit_erase" ), tr("Erase mode (Shift+E)" ) ); | |||
QAction* selectAction = editModeGroup->addAction( embed::getIconPixmap( "edit_select" ), tr( "Select mode (Shift+S)" ) ); | |||
QAction* detuneAction = editModeGroup->addAction( embed::getIconPixmap( "automation" ), tr("Detune mode (Shift+T)" ) ); | |||
QAction* pitchBendAction = editModeGroup->addAction( embed::getIconPixmap( "automation" ), tr("Detune mode (Shift+T)" ) ); |
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.
Did you mean to change the text for this as well?
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.
Yeah, so the source code is clearer.
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.
@Anonymouqs I do not understand your reply. Did you make a mistake and forget this line? Will you fix it? (Hint, the text still reads "Detune mode (Shift+T)"
)
Added the fix. Apologies for the confusion. |
src/gui/editors/PianoRoll.cpp
Outdated
@@ -4077,14 +4077,14 @@ PianoRollWindow::PianoRollWindow() : | |||
QAction* drawAction = editModeGroup->addAction( embed::getIconPixmap( "edit_draw" ), tr( "Draw mode (Shift+D)" ) ); | |||
QAction* eraseAction = editModeGroup->addAction( embed::getIconPixmap( "edit_erase" ), tr("Erase mode (Shift+E)" ) ); | |||
QAction* selectAction = editModeGroup->addAction( embed::getIconPixmap( "edit_select" ), tr( "Select mode (Shift+S)" ) ); | |||
QAction* detuneAction = editModeGroup->addAction( embed::getIconPixmap( "automation" ), tr("Detune mode (Shift+T)" ) ); | |||
QAction* pitchBendAction = editModeGroup->addAction( embed::getIconPixmap( "automation" ), tr("Pitch Bend Mode (Shift+T)" ) ); |
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.
"Mode" here ought to start with a lowercase "m" for consistency with the other tooltips.
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.
Added a new commit.
…DetuningHelper Rename DetuningHelper.h as PitchBendHelper.h: * Detune to PitchBend * detune to pitchBend PianoRoll.cpp: * detuning to pitchBend * Detuning to PitchBend
* I would reccomend testing to make sure all of the features still work. Any detune mention not pertaining to the pitch bend funtion remained detune.
@Anonymouqs You can find remaining git grep -i detune -- include/ src/ plugins/ # for detune
git grep -i detuning -- include/ src/ plugins/ # for detuning However, I think first three commits are sufficient because internal references are not important for stable releases. That may be done in |
@PhysSong Should we discuss on #devtalk if we should revert the internal reference commits? |
fix references to detuning to pitchBend
I'm at the point where I am hoping that AI will be able to carry out this repetitively tedious task of refactoring. It's simple enough for reptitiveness, but just a tad bit complex to require a human(for now)
I feel like a while true do loop
Thank you for my dilligence of making this piece of softare better. Thank you for giving the strength on not leaving this branch behind to rot for 10 years and leave LMMS with the Pitch Bench feature instead of the Detune feature. Thank you for giving the strength to go on and get into the Bassline. Thank you for the fact that this is not a corporate setting where every commit has to be 100% serious. Thank you for
@Anonymouqs There have been some discussions on Discord |
@PhysSong I just read your message when I just finished renaming all of the code; I had to trace the dependencies of the variable names across files or else the build would crash. This branch passes through the Travis Build successfully now. |
This reverts commit 76f182b.
This reverts commit 748c69a.
This reverts commit 34fd806.
This reverts commit 59b3998.
This reverts commit ae78a7b.
This reverts commit c463660.
This reverts commit f49849b.
This reverts commit ef70809.
This reverts commit 9dfea35.
This reverts commit 43162e6.
This reverts commit 699a12e.
This reverts commit c713d38.
This reverts commit f95031a.
This reverts commit 733853e.
…nymouqs/lmms into DetuneToPitchBend-Stable-1.2
Although I'm sympathetic to learning the PR process, 39 commits is growing excessive for a cosmetic change. Let's please wrap this up. |
Fixes #4174 in order to give a clearer name to the mode in the Piano Roll.
This Pull Request is for the 1.2 Stable Branch while there is another Pull Request for the Master Branch.