summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 10:58:46 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 14:30:09 +0200
commit95bcf6ac38810a313f31d6011b3569d519214e4e (patch)
tree4558df128f9a3b23b9a78f754e7c954982237c0a /src
parentconfigure_touch_from_button: Eliminate variable shadowing (diff)
downloadyuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar.gz
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar.bz2
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar.lz
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar.xz
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.tar.zst
yuzu-95bcf6ac38810a313f31d6011b3569d519214e4e.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_ringcon.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_ringcon.cpp b/src/yuzu/configuration/configure_ringcon.cpp
index 4fcc22b7a..688c2dd38 100644
--- a/src/yuzu/configuration/configure_ringcon.cpp
+++ b/src/yuzu/configuration/configure_ringcon.cpp
@@ -165,10 +165,10 @@ ConfigureRingController::ConfigureRingController(QWidget* parent,
const std::string invert_str = invert_value ? "+" : "-";
param.Set("invert_x", invert_str);
emulated_device->SetRingParam(param);
- for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM;
- ++sub_button_id) {
- analog_map_buttons[sub_button_id]->setText(
- AnalogToText(param, analog_sub_buttons[sub_button_id]));
+ for (int sub_button_id2 = 0; sub_button_id2 < ANALOG_SUB_BUTTONS_NUM;
+ ++sub_button_id2) {
+ analog_map_buttons[sub_button_id2]->setText(
+ AnalogToText(param, analog_sub_buttons[sub_button_id2]));
}
});
context_menu.exec(