summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-17 17:42:20 +0100
committergerman77 <juangerman-13@hotmail.com>2021-11-17 17:42:20 +0100
commit311324e231f00c6cff4bd86162c909d045146068 (patch)
treed8ab5b2e93b25b4c34a5aef4f4aa67c964cb8f5a /src
parentMerge pull request #7320 from OatmealDome/homebrew-capabilities (diff)
downloadyuzu-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.cpp2
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;
}