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

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