Fix Qt <6.7 build and allow speed limit to be saved

Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
swurl 2025-04-23 18:36:39 -04:00
parent 609f5e48e0
commit 8795b96d46
4 changed files with 4 additions and 2 deletions

View file

@ -121,7 +121,7 @@ void ConfigureInput::Initialize(InputCommon::InputSubsystem* input_subsystem,
&ConfigureInput::UpdateAllInputDevices);
connect(player_controllers[i], &ConfigureInputPlayer::RefreshInputProfiles, this,
&ConfigureInput::UpdateAllInputProfiles, Qt::QueuedConnection);
connect(connected_controller_checkboxes[i], &QCheckBox::checkStateChanged, [this, i](int state) {
connect(connected_controller_checkboxes[i], &QCheckBox::stateChanged, [this, i](int state) {
// Keep activated controllers synced with the "Connected Controllers" checkboxes
player_controllers[i]->ConnectPlayer(state == Qt::Checked);
});