ui_settings: Rename game directory variables

This commit is contained in:
FreddyFunk
2019-04-11 19:55:56 +02:00
parent 97648f4841
commit dffa1a872a
5 changed files with 20 additions and 20 deletions

View File

@ -467,9 +467,9 @@ void GameList::LoadInterfaceLayout() {
const QStringList GameList::supported_file_extensions = {"nso", "nro", "nca", "xci", "nsp"};
void GameList::RefreshGameDirectory() {
if (!UISettings::values.gamedir.isEmpty() && current_worker != nullptr) {
if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) {
LOG_INFO(Frontend, "Change detected in the games directory. Reloading game list.");
search_field->clear();
PopulateAsync(UISettings::values.gamedir, UISettings::values.gamedir_deepscan);
PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan);
}
}