diff options
author | Laszlo Papp <lpapp@kde.org> | 2022-05-12 11:30:13 +0100 |
---|---|---|
committer | Laszlo Papp <lpapp@kde.org> | 2022-05-18 12:30:07 +0000 |
commit | 3e78f501b788cc49fdab0fb676640e5eb43ec0e5 (patch) | |
tree | 543d35db810789769b62408fa1e81f25896387af /src/gui | |
parent | 9d41bd431280d7bb1f0fa3865e49a13200ff9608 (diff) |
QKeySequence: Add support for Eject and Clear glyphs on macOS
Presumably, these glyphs have not been needed thus far, hence missing
from the corresponding list.
Pick-to: 6.2 6.3
Change-Id: I72cb8811f087c40229105f65d52a9c1048d9f9eb
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qkeysequence.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeysequence.cpp b/src/gui/kernel/qkeysequence.cpp index 6f0479b0d3..047edf676b 100644 --- a/src/gui/kernel/qkeysequence.cpp +++ b/src/gui/kernel/qkeysequence.cpp @@ -45,6 +45,7 @@ static const MacSpecialKey entries[] = { { Qt::Key_Return, 0x21B5 }, { Qt::Key_Enter, 0x2324 }, { Qt::Key_Delete, 0x2326 }, + { Qt::Key_Clear, 0x2327 }, { Qt::Key_Home, 0x2196 }, { Qt::Key_End, 0x2198 }, { Qt::Key_Left, 0x2190 }, @@ -58,6 +59,7 @@ static const MacSpecialKey entries[] = { { Qt::Key_Meta, kControlUnicode }, { Qt::Key_Alt, kOptionUnicode }, { Qt::Key_CapsLock, 0x21EA }, + { Qt::Key_Eject, 0x23CF }, }; static bool operator<(const MacSpecialKey &entry, int key) |