Skip to content

Conversation

@fedelibre
Copy link
Member

Fixes issue #1916

@bmjcode I found this bug while preparing a patch for the user manual. I want to add some instructions for MIDI playback and MIDI input.

I see that there are other Qt.Modifier uses in the code that should be probably modified? I'm not confident with Qt and programming in general...

git grep -n 'Qt\.Modifier' frescobaldi/
[...]

https://doc.qt.io/qt-6/qt.html#KeyboardModifier-enum

@fedelibre fedelibre requested a review from bmjcode April 9, 2025 22:41
Copy link
Collaborator

@bmjcode bmjcode left a comment

Choose a reason for hiding this comment

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

Looks good to me. This specific replacement is one of my pet peeves with PyQt6. Qt.Modifier and Qt.KeyboardModifier are supposed to be interchangeable, but they are not in PyQt6 because of how it implements enum types.

@fedelibre fedelibre merged commit 13173fb into master Apr 10, 2025
@fedelibre fedelibre deleted the midinput branch April 10, 2025 21:06
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.

3 participants