mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 20:37:52 -05:00
yuzu: Eliminate variable shadowing
This commit is contained in:
@ -116,8 +116,8 @@ void ConfigurePerGame::HandleApplyButtonClicked() {
|
||||
ApplyConfiguration();
|
||||
}
|
||||
|
||||
void ConfigurePerGame::LoadFromFile(FileSys::VirtualFile file) {
|
||||
this->file = std::move(file);
|
||||
void ConfigurePerGame::LoadFromFile(FileSys::VirtualFile file_) {
|
||||
file = std::move(file_);
|
||||
LoadConfiguration();
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
/// Save all button configurations to settings file
|
||||
void ApplyConfiguration();
|
||||
|
||||
void LoadFromFile(FileSys::VirtualFile file);
|
||||
void LoadFromFile(FileSys::VirtualFile file_);
|
||||
|
||||
private:
|
||||
void changeEvent(QEvent* event) override;
|
||||
|
@ -89,8 +89,8 @@ void ConfigurePerGameAddons::ApplyConfiguration() {
|
||||
Settings::values.disabled_addons[title_id] = disabled_addons;
|
||||
}
|
||||
|
||||
void ConfigurePerGameAddons::LoadFromFile(FileSys::VirtualFile file) {
|
||||
this->file = std::move(file);
|
||||
void ConfigurePerGameAddons::LoadFromFile(FileSys::VirtualFile file_) {
|
||||
file = std::move(file_);
|
||||
LoadConfiguration();
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ public:
|
||||
/// Save all button configurations to settings file
|
||||
void ApplyConfiguration();
|
||||
|
||||
void LoadFromFile(FileSys::VirtualFile file);
|
||||
void LoadFromFile(FileSys::VirtualFile file_);
|
||||
|
||||
void SetTitleId(u64 id);
|
||||
|
||||
|
Reference in New Issue
Block a user