Skip to content

Commit

Permalink
remove other controllers
Browse files Browse the repository at this point in the history
wasn't supposed to be there - causes crash
  • Loading branch information
LittleCoaks committed Feb 10, 2024
1 parent d62deb5 commit 7ab69f3
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Source/Core/DolphinQt/NetPlay/PadMappingDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,9 @@ void PadMappingDialog::CreateWidgets()
void PadMappingDialog::ConnectWidgets()
{
connect(m_button_box, &QDialogButtonBox::accepted, this, &QDialog::accept);
for (const auto& combo_group : {m_gc_boxes, m_wii_boxes})
for (const auto& combo : m_gc_boxes)
{
for (const auto& combo : combo_group)
{
connect(combo, &QComboBox::currentIndexChanged, this, &PadMappingDialog::OnMappingChanged);
}
}
for (const auto& checkbox : m_gba_boxes)
{
connect(checkbox, &QCheckBox::stateChanged, this, &PadMappingDialog::OnMappingChanged);
connect(combo, &QComboBox::currentIndexChanged, this, &PadMappingDialog::OnMappingChanged);
}
}

Expand Down

0 comments on commit 7ab69f3

Please sign in to comment.