Files
yacreader/YACReaderLibrary
Igor Kushnir 2acfbbfac7 Library: add Quit shortcut
The Ctrl+Q shortcut is assigned to Quit action in most applications on
GNU/Linux. Command+Q is used on macOS. The added shortcut should be
automatically mapped to Command+Q on macOS judging by the following
quote from QKeySequence class documentation:
Note: On macOS, references to "Ctrl", Qt::CTRL, Qt::Key_Control and
Qt::ControlModifier correspond to the Command keys on the Macintosh
keyboard

QKeySequence::Quit could be used as the default key sequence in place of
`Qt::CTRL | Qt::Key_Q`. This would leave the shortcut unassigned by
default on Windows. But YACReader doesn't use QKeySequence::StandardKey
anywhere, so perhaps this shortcut should be hard-coded too.

The shortcut is particularly useful when Close to tray option is
enabled, because in this case closing the Library window with a system
window manager shortcut simply hides it.
2021-05-28 19:34:24 +02:00
..
2021-03-13 10:46:43 +01:00
2021-05-25 21:46:35 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2019-06-01 16:04:48 +02:00
2018-08-07 11:09:02 +02:00
2021-05-28 19:34:24 +02:00
2021-05-28 19:34:24 +02:00
2019-06-01 16:04:48 +02:00
2019-08-31 09:35:32 +02:00
2021-05-28 19:34:24 +02:00
2021-05-28 19:34:24 +02:00
2019-09-20 16:38:11 +02:00
2021-01-28 19:56:35 +01:00
2019-06-01 16:04:48 +02:00
2019-09-19 22:49:00 +02:00
2019-06-01 16:04:48 +02:00
2018-08-15 14:43:14 +02:00
2018-08-15 14:43:14 +02:00