Fix Qt5 Slot/Signals for QCheckBoxes (#5201)

This commit is contained in:
Zach H 2024-11-27 14:11:55 -08:00 committed by GitHub
parent f2b0fa164e
commit c6bfc8b8ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 53 additions and 65 deletions

View file

@ -80,8 +80,7 @@ DlgConnect::DlgConnect(QWidget *parent) : QDialog(parent)
autoConnectCheckBox->setEnabled(false);
}
connect(savePasswordCheckBox, SIGNAL(QT_STATE_CHANGED(QT_STATE_CHANGED_T)), this,
SLOT(passwordSaved(QT_STATE_CHANGED_T)));
connect(savePasswordCheckBox, &QCheckBox::QT_STATE_CHANGED, this, &DlgConnect::passwordSaved);
serverIssuesLabel =
new QLabel(tr("If you have any trouble connecting or registering then contact the server staff for help!"));