mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Fix Clang Format
This commit is contained in:
parent
dffa1a872a
commit
382722b9c4
2 changed files with 10 additions and 5 deletions
|
@ -470,6 +470,7 @@ void GameList::RefreshGameDirectory() {
|
||||||
if (!UISettings::values.game_directory_path.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.");
|
LOG_INFO(Frontend, "Change detected in the games directory. Reloading game list.");
|
||||||
search_field->clear();
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -213,7 +213,8 @@ GMainWindow::GMainWindow()
|
||||||
OnReinitializeKeys(ReinitializeKeyBehavior::NoWarning);
|
OnReinitializeKeys(ReinitializeKeyBehavior::NoWarning);
|
||||||
|
|
||||||
game_list->LoadCompatibilityList();
|
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
|
// Show one-time "callout" messages to the user
|
||||||
ShowTelemetryCallout();
|
ShowTelemetryCallout();
|
||||||
|
@ -1367,7 +1368,8 @@ void GMainWindow::OnMenuInstallToNAND() {
|
||||||
const auto success = [this]() {
|
const auto success = [this]() {
|
||||||
QMessageBox::information(this, tr("Successfully Installed"),
|
QMessageBox::information(this, tr("Successfully Installed"),
|
||||||
tr("The file was 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]() {
|
const auto failed = [this]() {
|
||||||
|
@ -1517,7 +1519,8 @@ void GMainWindow::OnMenuSelectEmulatedDirectory(EmulatedDirectoryTarget target)
|
||||||
: FileUtil::UserPath::NANDDir,
|
: FileUtil::UserPath::NANDDir,
|
||||||
dir_path.toStdString());
|
dir_path.toStdString());
|
||||||
Service::FileSystem::CreateFactories(*vfs);
|
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);
|
Service::FileSystem::CreateFactories(*vfs);
|
||||||
|
|
||||||
if (behavior == ReinitializeKeyBehavior::Warning) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue