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 #101916: undetected conflict with standard keys #2449

Merged

Conversation

syrma
Copy link
Contributor

@syrma syrma commented Mar 14, 2016

Fix for https://musescore.org/en/node/101916 . Setting keys like Ctrl+S or Ctrl+O as shortcuts was possible despite the conflict with the standard shortcuts (save, open, ...) .

@lasconic
Copy link
Contributor

Looks good. Would you mind changing the 3 foreach in and around your code to a C++11 for loop and put a space between for and ( like:

for (const QKeySequence& ks : skeys) {

And then squash the commits http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html

break;
}
}

foreach(const QKeySequence& ks, ss->keys()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Also this foreach, please change it

@syrma syrma force-pushed the 101916-conflicts-with-standard-shortcuts branch from 5d58264 to eae3b10 Compare March 16, 2016 16:23
@syrma
Copy link
Contributor Author

syrma commented Mar 16, 2016

Thank you for the comment! I have updated the commit. Please tell me if there is still anything wrong.

@lasconic
Copy link
Contributor

Looks good. Could you sign the CLA https://musescore.org/en/cla

@syrma
Copy link
Contributor Author

syrma commented Mar 16, 2016

Done. Sorry for the delay!

@lasconic
Copy link
Contributor

Thank you and welcome in MuseScore contributor community !

lasconic added a commit that referenced this pull request Mar 17, 2016
…ortcuts

fix #101916: undetected conflict with standard keys
@lasconic lasconic merged commit 5be6d09 into musescore:master Mar 17, 2016
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.

None yet

2 participants