// Whenever useSSL is toggled, update the port number if not changed from the default
connect(ui.useSSL, &QAbstractButton::toggled, this, &NetworkAddDlg::updateSslPort);
// Whenever useSSL is toggled, update the port number if not changed from the default
connect(ui.useSSL, &QAbstractButton::toggled, this, &NetworkAddDlg::updateSslPort);