From 4cdf19f323f17ea3041e5c707202a51e6f9f7ec3 Mon Sep 17 00:00:00 2001 From: collecting Date: Tue, 7 Oct 2025 06:50:32 +0000 Subject: [PATCH] fix: checkStateChanged --- src/citron/configuration/configure_input.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/citron/configuration/configure_input.cpp b/src/citron/configuration/configure_input.cpp index 8b8850245..930bd88c4 100644 --- a/src/citron/configuration/configure_input.cpp +++ b/src/citron/configuration/configure_input.cpp @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: 2016 Citra Emulator Project +// SPDX-FileCopyrightText: 2025 citron Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #include @@ -121,7 +122,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::stateChanged, [this, i](int state) { + connect(connected_controller_checkboxes[i], &QCheckBox::checkStateChanged, [this, i](Qt::CheckState state) { // Keep activated controllers synced with the "Connected Controllers" checkboxes player_controllers[i]->ConnectPlayer(state == Qt::Checked); });