From 86e92972dd1df463f8da859f651ba0eb76dacd50 Mon Sep 17 00:00:00 2001 From: Yifan Zhu Date: Tue, 30 Jan 2024 13:36:46 -0800 Subject: qxkbcommon: map XKB_KEY_XF86Calculator to Qt::Key_Calculator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cfd935fe6c26800befc10889afc0aebde311acca removed the erroneous mapping from XKB_KEY_XF86Calculator to Qt::Key_Launch1, leaving it unmapped. It should be mapped to Qt::Key_Calculator, just like XKB_KEY_XF86Calculater. Fixes: QTBUG-121713 Pick-to: 6.7 6.6 6.5 Change-Id: Iaa28e38792f43a7950a3c38397869a6ffed332d1 Reviewed-by: Tor Arne Vestbø Reviewed-by: Liang Qi --- src/gui/platform/unix/qxkbcommon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/platform/unix/qxkbcommon.cpp b/src/gui/platform/unix/qxkbcommon.cpp index 6fd621e8c1..ed29db3005 100644 --- a/src/gui/platform/unix/qxkbcommon.cpp +++ b/src/gui/platform/unix/qxkbcommon.cpp @@ -300,6 +300,7 @@ static constexpr const auto KeyTbl = qMakeArray( Xkb2Qt, Xkb2Qt, Xkb2Qt, + Xkb2Qt, Xkb2Qt, Xkb2Qt, Xkb2Qt, -- cgit v1.2.3