configure_touch_from_button: Eliminate variable shadowing
This commit is contained in:
parent
5503338f21
commit
e371961219
2 changed files with 3 additions and 3 deletions
|
@ -68,10 +68,10 @@ static QString ButtonToText(const Common::ParamPackage& param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfigureTouchFromButton::ConfigureTouchFromButton(
|
ConfigureTouchFromButton::ConfigureTouchFromButton(
|
||||||
QWidget* parent, const std::vector<Settings::TouchFromButtonMap>& touch_maps,
|
QWidget* parent, const std::vector<Settings::TouchFromButtonMap>& touch_maps_,
|
||||||
InputCommon::InputSubsystem* input_subsystem_, const int default_index)
|
InputCommon::InputSubsystem* input_subsystem_, const int default_index)
|
||||||
: QDialog(parent), ui(std::make_unique<Ui::ConfigureTouchFromButton>()),
|
: QDialog(parent), ui(std::make_unique<Ui::ConfigureTouchFromButton>()),
|
||||||
touch_maps(touch_maps), input_subsystem{input_subsystem_}, selected_index(default_index),
|
touch_maps{touch_maps_}, input_subsystem{input_subsystem_}, selected_index{default_index},
|
||||||
timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()) {
|
timeout_timer(std::make_unique<QTimer>()), poll_timer(std::make_unique<QTimer>()) {
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
binding_list_model = new QStandardItemModel(0, 3, this);
|
binding_list_model = new QStandardItemModel(0, 3, this);
|
||||||
|
|
|
@ -37,7 +37,7 @@ class ConfigureTouchFromButton : public QDialog {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ConfigureTouchFromButton(QWidget* parent,
|
explicit ConfigureTouchFromButton(QWidget* parent,
|
||||||
const std::vector<Settings::TouchFromButtonMap>& touch_maps,
|
const std::vector<Settings::TouchFromButtonMap>& touch_maps_,
|
||||||
InputCommon::InputSubsystem* input_subsystem_,
|
InputCommon::InputSubsystem* input_subsystem_,
|
||||||
int default_index = 0);
|
int default_index = 0);
|
||||||
~ConfigureTouchFromButton() override;
|
~ConfigureTouchFromButton() override;
|
||||||
|
|
Loading…
Reference in a new issue