From 87a2bad9a461d3e74adc659ba1ec54efc382ab87 Mon Sep 17 00:00:00 2001 From: deepin-ci-robot Date: Wed, 3 Jan 2024 08:37:24 +0000 Subject: [PATCH] sync: from linuxdeepin/qt5integration Synchronize source files from linuxdeepin/qt5integration. Source-pull-request: https://github.com/linuxdeepin/qt5integration/pull/207 --- platformthemeplugin/qdeepintheme.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }