1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-05-29 21:00:07 +00:00

Merge pull request from german77/hotkey_spam

hotkeys: Don't allow hotkeys to spam
This commit is contained in:
bunnei 2021-11-17 18:16:17 -08:00 committed by GitHub
commit 2054013edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}