Merge pull request #5504 from xperia64/savestate_locale_fix

Don't translate save/load state hotkey text for the map
This commit is contained in:
Pengfei Zhu 2020-09-01 22:42:17 +08:00 committed by GitHub
commit 2f01046f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,9 +567,9 @@ void GMainWindow::InitializeHotkeys() {
OnCaptureScreenshot(); OnCaptureScreenshot();
} }
}); });
connect(hotkey_registry.GetHotkey(main_window, ui.action_Load_from_Newest_Slot->text(), this), connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Load from Newest Slot"), this),
&QShortcut::activated, ui.action_Load_from_Newest_Slot, &QAction::trigger); &QShortcut::activated, ui.action_Load_from_Newest_Slot, &QAction::trigger);
connect(hotkey_registry.GetHotkey(main_window, ui.action_Save_to_Oldest_Slot->text(), this), connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Save to Oldest Slot"), this),
&QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger); &QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger);
} }