summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qkeysequence.cpp
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2024-11-18 22:06:17 +0100
committerKai Uwe Broulik <[email protected]>2025-02-17 22:17:08 +0100
commit4396c96f1e77869631b5067c5ef3be61305899f5 (patch)
tree3987dc3d74a0deed5e9d336ee6a145964e831ffb /src/gui/kernel/qkeysequence.cpp
parent2f23b0cd9c93bd7f7e669096ffdca11f7b4bbafb (diff)
Add Qt::Key_Keyboard
Adds a "media key" for the "Keyboard settings" key found on some laptops. Change-Id: Id041a551844f095f1d7d2fd25d37346da30407a3 Reviewed-by: Tor Arne Vestbø <[email protected]> Reviewed-by: David Edmundson <[email protected]>
Diffstat (limited to 'src/gui/kernel/qkeysequence.cpp')
-rw-r--r--src/gui/kernel/qkeysequence.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeysequence.cpp b/src/gui/kernel/qkeysequence.cpp
index 0ae55764b00..e514c8a1a07 100644
--- a/src/gui/kernel/qkeysequence.cpp
+++ b/src/gui/kernel/qkeysequence.cpp
@@ -574,6 +574,8 @@ static constexpr struct {
{ Qt::Key_MicVolumeUp, QT_TRANSLATE_NOOP("QShortcut", "Microphone Volume Up") },
{ Qt::Key_MicVolumeDown, QT_TRANSLATE_NOOP("QShortcut", "Microphone Volume Down") },
+ { Qt::Key_Keyboard, QT_TRANSLATE_NOOP("QShortcut", "Keyboard") },
+
{ Qt::Key_New, QT_TRANSLATE_NOOP("QShortcut", "New") },
{ Qt::Key_Open, QT_TRANSLATE_NOOP("QShortcut", "Open") },
{ Qt::Key_Find, QT_TRANSLATE_NOOP("QShortcut", "Find") },