Qt: Fix 6.7 deprecation warnings

This commit is contained in:
Stenzek
2024-04-11 21:48:59 +10:00
parent efcfcd8e11
commit 3e9ac99d54
12 changed files with 24 additions and 27 deletions

View File

@ -180,11 +180,7 @@ static constexpr KeyCodeName s_qt_key_names[] = {{Qt::Key_Escape, "Escape", ICON
{Qt::Key_twosuperior, "twosuperior", nullptr},
{Qt::Key_threesuperior, "threesuperior", nullptr},
{Qt::Key_acute, "acute", nullptr},
#if (QT_VERSION >= QT_VERSION_CHECK(6, 7, 0))
{Qt::Key_micro, "micro", nullptr},
#else
{Qt::Key_mu, "mu", nullptr},
#endif
{Qt::Key_paragraph, "paragraph", nullptr},
{Qt::Key_periodcentered, "periodcentered", nullptr},
{Qt::Key_cedilla, "cedilla", nullptr},