From 4321ab44eaea3aeadf1ba883a83cc0f6f4f7983b Mon Sep 17 00:00:00 2001 From: baka0815 Date: Mon, 16 Apr 2018 12:37:13 +0200 Subject: [PATCH] citra-qt: Don't translate function keys in InitializeHotkeys() --- src/citra_qt/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 87d1a58ba..6709874d5 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -286,8 +286,8 @@ void GMainWindow::InitializeRecentFileMenuActions() { void GMainWindow::InitializeHotkeys() { RegisterHotkey("Main Window", "Load File", QKeySequence::Open); RegisterHotkey("Main Window", "Start Emulation"); - RegisterHotkey("Main Window", "Swap Screens", QKeySequence(tr("F9"))); - RegisterHotkey("Main Window", "Toggle Screen Layout", QKeySequence(tr("F10"))); + RegisterHotkey("Main Window", "Swap Screens", QKeySequence("F9")); + RegisterHotkey("Main Window", "Toggle Screen Layout", QKeySequence("F10")); RegisterHotkey("Main Window", "Fullscreen", QKeySequence::FullScreen); RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence(Qt::Key_Escape), Qt::ApplicationShortcut);