change deprecated QT check

This commit is contained in:
David Griswold 2025-03-22 14:37:44 -03:00 committed by OpenSauce
parent 3a525e53e1
commit 723b54b56f

View file

@ -233,7 +233,7 @@ void ConfigureMotionTouch::ConnectEvents() {
poll_timer->start(200); // Check for new inputs every 200ms
}
});
connect(ui->touchpad_checkbox,&QCheckBox::stateChanged, this, [this]() {UpdateUiDisplay(); });
connect(ui->touchpad_checkbox,&QCheckBox::checkStateChanged, this, [this]() {UpdateUiDisplay(); });
connect(ui->touchpad_config_btn, &QPushButton::clicked, this, [this]() {
if (QMessageBox::information(this, tr("Information"),
tr("After pressing OK, tap the trackpad on the controller"