keymapper_x11: Qt::Key_mu renamed Qt::Key_micro from Qt 6.7

This commit is contained in:
Jonas Kvinge 2023-08-26 21:15:26 +02:00
parent 57e29b2be9
commit 904245bb21
1 changed files with 4 additions and 0 deletions

View File

@ -153,7 +153,11 @@ static const QMap<Qt::Key, quint32> keymapper_x11_ = { // clazy:exclude=non-pod
{ Qt::Key_twosuperior, XK_twosuperior },
{ Qt::Key_threesuperior, XK_threesuperior },
{ Qt::Key_acute, XK_acute },
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
{ Qt::Key_micro, XK_mu },
#else
{ Qt::Key_mu, XK_mu },
#endif
{ Qt::Key_paragraph, XK_paragraph },
{ Qt::Key_periodcentered, XK_periodcentered },
{ Qt::Key_cedilla, XK_cedilla },