summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFreddyFunk <FreddyFunk@users.noreply.github.com>2019-04-12 16:40:35 +0200
committerFreddyFunk <FreddyFunk@users.noreply.github.com>2019-04-12 16:40:35 +0200
commit382722b9c4b64475121a796171ba11bc38c7e9f7 (patch)
tree6b0209cccf49dc43f0a93c840613cb5060c27721
parentui_settings: Rename game directory variables (diff)
downloadyuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar.gz
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar.bz2
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar.lz
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar.xz
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.tar.zst
yuzu-382722b9c4b64475121a796171ba11bc38c7e9f7.zip
-rw-r--r--src/yuzu/game_list.cpp3
-rw-r--r--src/yuzu/main.cpp12
2 files changed, 10 insertions, 5 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index f186ef722..b0ca766ec 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -470,6 +470,7 @@ void GameList::RefreshGameDirectory() {
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.game_directory_path, UISettings::values.game_directory_deepscan);
+ PopulateAsync(UISettings::values.game_directory_path,
+ UISettings::values.game_directory_deepscan);
}
}
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 4ca5b9a86..588f53860 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -213,7 +213,8 @@ GMainWindow::GMainWindow()
OnReinitializeKeys(ReinitializeKeyBehavior::NoWarning);
game_list->LoadCompatibilityList();
- game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan);
+ game_list->PopulateAsync(UISettings::values.game_directory_path,
+ UISettings::values.game_directory_deepscan);
// Show one-time "callout" messages to the user
ShowTelemetryCallout();
@@ -1367,7 +1368,8 @@ void GMainWindow::OnMenuInstallToNAND() {
const auto success = [this]() {
QMessageBox::information(this, tr("Successfully Installed"),
tr("The file was successfully installed."));
- game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan);
+ game_list->PopulateAsync(UISettings::values.game_directory_path,
+ UISettings::values.game_directory_deepscan);
};
const auto failed = [this]() {
@@ -1517,7 +1519,8 @@ void GMainWindow::OnMenuSelectEmulatedDirectory(EmulatedDirectoryTarget target)
: FileUtil::UserPath::NANDDir,
dir_path.toStdString());
Service::FileSystem::CreateFactories(*vfs);
- game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan);
+ game_list->PopulateAsync(UISettings::values.game_directory_path,
+ UISettings::values.game_directory_deepscan);
}
}
@@ -1920,7 +1923,8 @@ void GMainWindow::OnReinitializeKeys(ReinitializeKeyBehavior behavior) {
Service::FileSystem::CreateFactories(*vfs);
if (behavior == ReinitializeKeyBehavior::Warning) {
- game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan);
+ game_list->PopulateAsync(UISettings::values.game_directory_path,
+ UISettings::values.game_directory_deepscan);
}
}