diff --git a/platformthemeplugin/qdeepintheme.cpp b/platformthemeplugin/qdeepintheme.cpp index 99b4a11..41c7511 100644 --- a/platformthemeplugin/qdeepintheme.cpp +++ b/platformthemeplugin/qdeepintheme.cpp @@ -633,6 +633,8 @@ QVariant QDeepinTheme::themeHint(QPlatformTheme::ThemeHint hint) const return true; case ShowShortcutsInContextMenus: return false; + case ButtonPressKeys: + return QVariant::fromValue(QList({ Qt::Key_Enter, Qt::Key_Return, Qt::Key_Space, Qt::Key_Select } )); default: break; }