mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-25 12:46:42 +00:00
configure_touch_from_button: Eliminate variable shadowing
This commit is contained in:
parent
5503338f21
commit
e371961219
|
@ -68,10 +68,10 @@ static QString ButtonToText(const Common::ParamPackage& param) {
|
|||
}
|
||||
|
||||
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)
|
||||
: 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>()) {
|
||||
ui->setupUi(this);
|
||||
binding_list_model = new QStandardItemModel(0, 3, this);
|
||||
|
|
|
@ -37,7 +37,7 @@ class ConfigureTouchFromButton : public QDialog {
|
|||
|
||||
public:
|
||||
explicit ConfigureTouchFromButton(QWidget* parent,
|
||||
const std::vector<Settings::TouchFromButtonMap>& touch_maps,
|
||||
const std::vector<Settings::TouchFromButtonMap>& touch_maps_,
|
||||
InputCommon::InputSubsystem* input_subsystem_,
|
||||
int default_index = 0);
|
||||
~ConfigureTouchFromButton() override;
|
||||
|
|
Loading…
Reference in a new issue