clang format

This commit is contained in:
Vitor Kiguchi 2022-01-08 12:43:46 +01:00
parent 95383a3d14
commit 80fdc3e7c8

View File

@ -355,7 +355,8 @@ QList<QKeySequence> ConfigureInput::GetUsedKeyboardKeys() {
auto analog_param = analogs_param[analog_id]; auto analog_param = analogs_param[analog_id];
if (analog_param.Get("engine", "") == "analog_from_button") { 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) {
const Common::ParamPackage sub_button{analog_param.Get(analog_sub_buttons[sub_button_id], "")}; const Common::ParamPackage sub_button{
analog_param.Get(analog_sub_buttons[sub_button_id], "")};
list << QKeySequence(sub_button.Get("code", 0)); list << QKeySequence(sub_button.Get("code", 0));
} }
} }