diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-03 03:42:29 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-03 17:58:44 +0300 |
commit | 4885f2d70d71f92d505cb33738dd592727cd036c (patch) | |
tree | 67bac32039415fdfafc03c294aab7704705ee9e8 /src/apps/qcam/assets/feathericons/folder-minus.svg | |
parent | acf61456cc55441a0f09b361a531d628d390031b (diff) |
apps: qcam: Use standard key sequence for quit action
Replace the manual CTRL+Q key sequence with QKeySequence::Quit. This
automatically maps to the native shortcut for the quit action,
regardless of the platform. Even though we don't expect qcam to run on
non-Linux platform, using a QKeySequence is still a good practice when
one exists.
This doesn't change qcam's behaviour, as the native quit key sequence is
CTRL+Q on Linux systems.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/folder-minus.svg')
0 files changed, 0 insertions, 0 deletions