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#207
  • Loading branch information
deepin-ci-robot committed Jan 3, 2024
1 parent ff9a90a commit 1eebec1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platformthemeplugin/qdeepintheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "qdeepinfiledialoghelper.h"
#include "filedialogmanager_interface.h"
#include "dthemesettings.h"
#include <qnamespace.h>
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
#include "../3rdparty/qdbustrayicon_p.h"
#endif
Expand Down Expand Up @@ -633,6 +634,8 @@ QVariant QDeepinTheme::themeHint(QPlatformTheme::ThemeHint hint) const
return true;
case ShowShortcutsInContextMenus:
return false;
case ButtonPressKeys:
return QVariant::fromValue(QList<Qt::Key>({ Qt::Key_Enter, Qt::Key_Return, Qt::Key_Space, Qt::Key_Select } ));
default:
break;
}
Expand Down

0 comments on commit 1eebec1

Please sign in to comment.