1
0
Fork 0

Merge pull request #3660 from baka0815/translation

Don't translate function keys in Qt GUI
This commit is contained in:
Mat M 2018-04-16 08:12:29 -04:00 committed by GitHub
commit c250cbd5b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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