diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-17 17:42:20 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-11-17 17:42:20 +0100 |
commit | 311324e231f00c6cff4bd86162c909d045146068 (patch) | |
tree | d8ab5b2e93b25b4c34a5aef4f4aa67c964cb8f5a /src | |
parent | Merge pull request #7320 from OatmealDome/homebrew-capabilities (diff) | |
download | yuzu-311324e231f00c6cff4bd86162c909d045146068.tar yuzu-311324e231f00c6cff4bd86162c909d045146068.tar.gz yuzu-311324e231f00c6cff4bd86162c909d045146068.tar.bz2 yuzu-311324e231f00c6cff4bd86162c909d045146068.tar.lz yuzu-311324e231f00c6cff4bd86162c909d045146068.tar.xz yuzu-311324e231f00c6cff4bd86162c909d045146068.tar.zst yuzu-311324e231f00c6cff4bd86162c909d045146068.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/hotkeys.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/hotkeys.cpp b/src/yuzu/hotkeys.cpp index d4e97fa16..e7e58f314 100644 --- a/src/yuzu/hotkeys.cpp +++ b/src/yuzu/hotkeys.cpp @@ -46,6 +46,8 @@ QShortcut* HotkeyRegistry::GetHotkey(const QString& group, const QString& action if (!hk.shortcut) hk.shortcut = new QShortcut(hk.keyseq, widget, nullptr, nullptr, hk.context); + hk.shortcut->setAutoRepeat(false); + return hk.shortcut; } |