summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-02-01 18:54:00 +0100
committerLioncash <mathew1800@gmail.com>2022-02-01 18:54:00 +0100
commite2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730 (patch)
tree00bdc068b60a748ab23a84936d47e746bcee0c71 /src
parentconfigure_input_player: std::move input setters in HandleClick (diff)
downloadyuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar.gz
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar.bz2
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar.lz
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar.xz
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.tar.zst
yuzu-e2a86e2c8ad8f5fc652abd5c9636d38ce1a4e730.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_input_player.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp
index cea50c6d7..ba563b382 100644
--- a/src/yuzu/configuration/configure_input_player.cpp
+++ b/src/yuzu/configuration/configure_input_player.cpp
@@ -497,10 +497,11 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_i
param.Set("invert_y", invert_str);
emulated_controller->SetStickParam(analog_id, param);
}
- for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM;
- ++sub_button_id) {
- analog_map_buttons[analog_id][sub_button_id]->setText(
- AnalogToText(param, analog_sub_buttons[sub_button_id]));
+ for (int analog_sub_button_id = 0;
+ analog_sub_button_id < ANALOG_SUB_BUTTONS_NUM;
+ ++analog_sub_button_id) {
+ analog_map_buttons[analog_id][analog_sub_button_id]->setText(
+ AnalogToText(param, analog_sub_buttons[analog_sub_button_id]));
}
});
context_menu.exec(analog_map_buttons[analog_id][sub_button_id]->mapToGlobal(