mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
Don't translate hotkey text
This commit is contained in:
parent
f72be7af2d
commit
1d5d278f8d
@ -566,9 +566,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("Save to Oldest 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("Load from Newest Slot"), this),
|
||||||
&QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger);
|
&QShortcut::activated, ui.action_Save_to_Oldest_Slot, &QAction::trigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user