VERY experimental Nintendo Switch 2 emulator
C++
hotkeys: Don't allow hotkeys to spam
german77d46c9689ac86
diff --git a/src/yuzu/hotkeys.cpp b/src/yuzu/hotkeys.cppindex d4e97fa166..e7e58f314c 100644--- a/src/yuzu/hotkeys.cpp+++ b/src/yuzu/hotkeys.cpp@@ -46,6 +46,8 @@ QShortcut* HotkeyRegistry::GetHotkey(const QString& group, const QString& actionif (!hk.shortcut)hk.shortcut = new QShortcut(hk.keyseq, widget, nullptr, nullptr, hk.context);+ hk.shortcut->setAutoRepeat(false);+return hk.shortcut;}