diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index f9680bf4c..ee4a5d6b0 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -69,19 +69,11 @@ void CommonHostInterface::SetDefaultSettings(SettingsInterface& si) si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape"); si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Pause"); si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt+Return"); + si.SetStringValue("Hotkeys", "IncreaseResolutionScale", "Keyboard/PageUp"); + si.SetStringValue("Hotkeys", "DecreaseResolutionScale", "Keyboard/PageDown"); + si.SetStringValue("Hotkeys", "ToggleSoftwareRendering", "Keyboard/End"); } -#if 0 -void CommonHostInterface::refreshGameList(bool invalidate_cache /* = false */, bool invalidate_database /* = false */) -{ - std::lock_guard lock(m_qsettings_mutex); - QtSettingsInterface si(m_qsettings); - m_game_list->SetSearchDirectoriesFromSettings(si); - m_game_list->Refresh(invalidate_cache, invalidate_database); - emit gameListRefreshed(); -} -#endif - std::optional CommonHostInterface::GetHostKeyCode(const std::string_view key_code) const {