Skip to content

KviShortcut: add new ctor to support QKeySequence::StandardKey with more than one QKeySequence#2689

Merged
ctrlaltca merged 1 commit intokvirc:masterfrom
ctrlaltca:fix_2685
Nov 19, 2024
Merged

KviShortcut: add new ctor to support QKeySequence::StandardKey with more than one QKeySequence#2689
ctrlaltca merged 1 commit intokvirc:masterfrom
ctrlaltca:fix_2685

Conversation

@ctrlaltca
Copy link
Contributor

On Qt6 the cast from QKeySequence::StandardKey to QKeySequence will create the shortcut only on the first sequence.
From https://doc.qt.io/qt-6/qkeysequence.html#QKeySequence-1 :

The resulting object will be based on the first element in the list of key bindings for the key.

Fix #2685

@ctrlaltca ctrlaltca merged commit afed133 into kvirc:master Nov 19, 2024
@ctrlaltca ctrlaltca deleted the fix_2685 branch November 19, 2024 21:57
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.

shift+delete no longer working to 'cut'?

2 participants