VERY experimental Nintendo Switch 2 emulator
C++
Removes the use of QKeySequence::Cancel (#186)
Vishal Sharma3ec2bf49cf8f
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex e5252abdc3..5802b98559 100644--- a/src/yuzu/main.cpp+++ b/src/yuzu/main.cpp@@ -187,7 +187,8 @@ void GMainWindow::InitializeHotkeys() {RegisterHotkey("Main Window", "Load File", QKeySequence::Open);RegisterHotkey("Main Window", "Start Emulation");RegisterHotkey("Main Window", "Fullscreen", QKeySequence::FullScreen);- RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence::Cancel, Qt::ApplicationShortcut);+ RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence(Qt::Key_Escape),+ Qt::ApplicationShortcut);LoadHotkeys();connect(GetHotkey("Main Window", "Load File", this), &QShortcut::activated, this,