diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index c03575430..bfe3987e9 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -567,9 +567,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("Load from Newest 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("Save to Oldest Slot"), this), &QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger); }