mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
RMG-Core: Keybinding_ViewLog -> KeyBinding_ViewLog
This commit is contained in:
@@ -497,7 +497,7 @@ static l_Setting get_setting(SettingsID settingId)
|
||||
case SettingsID::KeyBinding_Fullscreen:
|
||||
setting = {SETTING_SECTION_KEYBIND, "Fullscreen", std::string("Alt+Return")};
|
||||
break;
|
||||
case SettingsID::Keybinding_ViewLog:
|
||||
case SettingsID::KeyBinding_ViewLog:
|
||||
setting = {SETTING_SECTION_KEYBIND, "ViewLog", std::string("Ctrl+Alt+L")};
|
||||
break;
|
||||
case SettingsID::KeyBinding_ViewSearch:
|
||||
|
||||
@@ -166,7 +166,7 @@ enum class SettingsID
|
||||
KeyBinding_SaveStateSlot8,
|
||||
KeyBinding_SaveStateSlot9,
|
||||
KeyBinding_Fullscreen,
|
||||
Keybinding_ViewLog,
|
||||
KeyBinding_ViewLog,
|
||||
KeyBinding_ViewSearch,
|
||||
KeyBinding_GraphicsSettings,
|
||||
KeyBinding_AudioSettings,
|
||||
|
||||
@@ -1057,7 +1057,7 @@ void SettingsDialog::commonHotkeySettings(SettingsDialogAction action)
|
||||
std::vector<keybinding> keybindings_View =
|
||||
{
|
||||
{ this->fullscreenKeyButton, SettingsID::KeyBinding_Fullscreen },
|
||||
{ this->logKeyButton, SettingsID::Keybinding_ViewLog },
|
||||
{ this->logKeyButton, SettingsID::KeyBinding_ViewLog },
|
||||
{ this->refreshRomListKeyButton, SettingsID::KeyBinding_RefreshROMList },
|
||||
{ this->searchKeyButton, SettingsID::KeyBinding_ViewSearch }
|
||||
};
|
||||
|
||||
@@ -844,7 +844,7 @@ void MainWindow::updateActions(bool inEmulation, bool isPaused)
|
||||
keyBinding = QString::fromStdString(CoreSettingsGetStringValue(SettingsID::KeyBinding_RefreshROMList));
|
||||
this->action_View_RefreshRoms->setEnabled(!inEmulation);
|
||||
this->action_View_RefreshRoms->setShortcut(QKeySequence(keyBinding));
|
||||
keyBinding = QString::fromStdString(CoreSettingsGetStringValue(SettingsID::Keybinding_ViewLog));
|
||||
keyBinding = QString::fromStdString(CoreSettingsGetStringValue(SettingsID::KeyBinding_ViewLog));
|
||||
this->action_View_Log->setShortcut(QKeySequence(keyBinding));
|
||||
this->action_View_ClearRomCache->setEnabled(!inEmulation);
|
||||
keyBinding = QString::fromStdString(CoreSettingsGetStringValue(SettingsID::KeyBinding_ViewSearch));
|
||||
|
||||
Reference in New Issue
Block a user