Qt: Fix directory setting changes

This commit is contained in:
Connor McLaughlin
2022-07-23 01:28:19 +10:00
parent 78bddd7fe9
commit a5f5be1a60
9 changed files with 45 additions and 16 deletions

View File

@ -1644,7 +1644,7 @@ void FullscreenUI::DrawFolderSetting(const char* title, const char* section, con
GetEditingSettingsInterface()->SetStringValue(section.c_str(), key.c_str(), relative_path.c_str());
SetSettingsChanged();
Host::RunOnCPUThread(&Host::Internal::UpdateEmuFolders);
Host::RunOnCPUThread(EmuFolders::Update);
CloseFileSelector();
});

View File

@ -138,7 +138,3 @@ void Host::Internal::SetInputSettingsLayer(SettingsInterface* sif)
std::unique_lock lock(s_settings_mutex);
s_layered_settings_interface.SetLayer(LayeredSettingsInterface::LAYER_INPUT, sif);
}
void Host::Internal::UpdateEmuFolders()
{
}