diff --git a/src/citra_qt/configuration/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp index 17562448cd..b03aeb632d 100644 --- a/src/citra_qt/configuration/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -351,10 +351,10 @@ QList ConfigureInput::GetUsedKeyboardKeys() { } } - for (int analog_id = 0; analog_id < Settings::NativeAnalog::NumAnalogs; analog_id++) { + for (int analog_id = 0; analog_id < Settings::NativeAnalog::NumAnalogs; ++analog_id) { auto analog_param = analogs_param[analog_id]; if (analog_param.Get("engine", "") == "analog_from_button") { - for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM; sub_button_id++) { + for (int sub_button_id = 0; sub_button_id < ANALOG_SUB_BUTTONS_NUM; ++sub_button_id) { auto sub_button = Common::ParamPackage{analog_param.Get(analog_sub_buttons[sub_button_id], "")}; list << QKeySequence(sub_button.Get("code", 0));