citra-qt: Don't translate function keys in InitializeHotkeys()
This commit is contained in:
parent
a2ab91fa31
commit
4321ab44ea
|
@ -286,8 +286,8 @@ void GMainWindow::InitializeRecentFileMenuActions() {
|
||||||
void GMainWindow::InitializeHotkeys() {
|
void GMainWindow::InitializeHotkeys() {
|
||||||
RegisterHotkey("Main Window", "Load File", QKeySequence::Open);
|
RegisterHotkey("Main Window", "Load File", QKeySequence::Open);
|
||||||
RegisterHotkey("Main Window", "Start Emulation");
|
RegisterHotkey("Main Window", "Start Emulation");
|
||||||
RegisterHotkey("Main Window", "Swap Screens", QKeySequence(tr("F9")));
|
RegisterHotkey("Main Window", "Swap Screens", QKeySequence("F9"));
|
||||||
RegisterHotkey("Main Window", "Toggle Screen Layout", QKeySequence(tr("F10")));
|
RegisterHotkey("Main Window", "Toggle Screen Layout", QKeySequence("F10"));
|
||||||
RegisterHotkey("Main Window", "Fullscreen", QKeySequence::FullScreen);
|
RegisterHotkey("Main Window", "Fullscreen", QKeySequence::FullScreen);
|
||||||
RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence(Qt::Key_Escape),
|
RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence(Qt::Key_Escape),
|
||||||
Qt::ApplicationShortcut);
|
Qt::ApplicationShortcut);
|
||||||
|
|
Reference in New Issue