Skip to content

Commit

Permalink
sync: from linuxdeepin/qt5integration
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/qt5integration.

Source-pull-request: linuxdeepin/qt5integration#209
  • Loading branch information
deepin-ci-robot committed Jan 9, 2024
1 parent a487c40 commit bf696a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platformthemeplugin/qdeepintheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,10 @@ QVariant QDeepinTheme::themeHint(QPlatformTheme::ThemeHint hint) const
return true;
case ShowShortcutsInContextMenus:
return false;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
case ButtonPressKeys:
return QVariant::fromValue(QList<Qt::Key>({ Qt::Key_Enter, Qt::Key_Return, Qt::Key_Space, Qt::Key_Select } ));
#endif
default:
break;
}
Expand Down

0 comments on commit bf696a9

Please sign in to comment.