yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

configure_dialog: Eliminate variable shadowing

This commit is contained in:
Morph 2022-06-13 18:19:04 -04:00
parent 2d903e3ce6
commit 1c83014526
2 changed files with 4 additions and 5 deletions

View File

@ -27,12 +27,11 @@
#include "yuzu/hotkeys.h" #include "yuzu/hotkeys.h"
#include "yuzu/uisettings.h" #include "yuzu/uisettings.h"
ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry, ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_,
InputCommon::InputSubsystem* input_subsystem, InputCommon::InputSubsystem* input_subsystem,
Core::System& system_) Core::System& system_)
: QDialog(parent), ui{std::make_unique<Ui::ConfigureDialog>()}, : QDialog(parent), ui{std::make_unique<Ui::ConfigureDialog>()}, registry{registry_},
registry(registry), system{system_}, audio_tab{std::make_unique<ConfigureAudio>(system_, system{system_}, audio_tab{std::make_unique<ConfigureAudio>(system_, this)},
this)},
cpu_tab{std::make_unique<ConfigureCpu>(system_, this)}, cpu_tab{std::make_unique<ConfigureCpu>(system_, this)},
debug_tab_tab{std::make_unique<ConfigureDebugTab>(system_, this)}, debug_tab_tab{std::make_unique<ConfigureDebugTab>(system_, this)},
filesystem_tab{std::make_unique<ConfigureFilesystem>(this)}, filesystem_tab{std::make_unique<ConfigureFilesystem>(this)},

View File

@ -40,7 +40,7 @@ class ConfigureDialog : public QDialog {
Q_OBJECT Q_OBJECT
public: public:
explicit ConfigureDialog(QWidget* parent, HotkeyRegistry& registry, explicit ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_,
InputCommon::InputSubsystem* input_subsystem, Core::System& system_); InputCommon::InputSubsystem* input_subsystem, Core::System& system_);
~ConfigureDialog() override; ~ConfigureDialog() override;