From 1d5d278f8d87acf2688b36e157c8b053e71cdd1f Mon Sep 17 00:00:00 2001 From: xperia64 Date: Mon, 10 Aug 2020 23:06:22 -0400 Subject: [PATCH] Don't translate hotkey text --- 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 7820f427a..6c3c5d8f9 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -566,9 +566,9 @@ void GMainWindow::InitializeHotkeys() { OnCaptureScreenshot(); } }); - connect(hotkey_registry.GetHotkey(main_window, ui.action_Load_from_Newest_Slot->text(), this), + connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Save to Oldest Slot"), this), &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("Load from Newest Slot"), this), &QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger); }