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

UI: Move shortcuts to Qt StandardKeys constants #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depili
Copy link
Contributor

@depili depili commented Dec 3, 2022

This patch uses the Qt provided constants for the quit, close, open and save keyboard shortcuts. This removes few instances of Qt version specific code.

Only functional difference of this patch is that on windows the quit shortcut of ctrl-q will no longer work, instead relying on the platform standard alt-f4.

This patch uses the Qt provided constants for the quit, close,
open and save keyboard shortcuts. This removes few instances of
Qt version specific code.

Only functional difference of this patch is that on windows the
quit shortcut of ctrl-q will no longer work, instead relying on
the platform standard alt-f4.
@fenugrec
Copy link

fenugrec commented Dec 4, 2022

Tested on archlinux x86_64 , Qt 5.15.7 . ctrl-q, ctrl-s, alt-f4 work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants