mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-02 03:32:47 +01:00
configure_ringcon: Eliminate variable shadowing
This commit is contained in:
parent
e371961219
commit
95bcf6ac38
1 changed files with 4 additions and 4 deletions
|
@ -165,10 +165,10 @@ ConfigureRingController::ConfigureRingController(QWidget* parent,
|
||||||
const std::string invert_str = invert_value ? "+" : "-";
|
const std::string invert_str = invert_value ? "+" : "-";
|
||||||
param.Set("invert_x", invert_str);
|
param.Set("invert_x", invert_str);
|
||||||
emulated_device->SetRingParam(param);
|
emulated_device->SetRingParam(param);
|
||||||
for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM;
|
for (int sub_button_id2 = 0; sub_button_id2 < ANALOG_SUB_BUTTONS_NUM;
|
||||||
++sub_button_id) {
|
++sub_button_id2) {
|
||||||
analog_map_buttons[sub_button_id]->setText(
|
analog_map_buttons[sub_button_id2]->setText(
|
||||||
AnalogToText(param, analog_sub_buttons[sub_button_id]));
|
AnalogToText(param, analog_sub_buttons[sub_button_id2]));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
context_menu.exec(
|
context_menu.exec(
|
||||||
|
|
Loading…
Reference in a new issue