chore(cpn): upgrade to Ubuntu 22.04 and Qt 6.9.0 (#5986)
Co-authored-by: elecpower <elecpower@users.noreply.github.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
elecpower
raphaelcoeffic
parent
7264b28e62
commit
9e86a3ea84
@@ -186,7 +186,7 @@ UpdateOptionsDialog::UpdateOptionsDialog(QWidget * parent, UpdateInterface * ifa
|
||||
leSubFolders << leSubFolder;
|
||||
layout3->addWidget(leSubFolder, 1, 2, 1, 2);
|
||||
|
||||
connect(chkDownload, &QCheckBox::stateChanged, [=](const int checked) {
|
||||
connect(chkDownload, &QCheckBox::checkStateChanged, [=](const int checked) {
|
||||
if (!checked) {
|
||||
chkDecompress->setChecked(false);
|
||||
chkCopy->setChecked(false);
|
||||
@@ -199,7 +199,7 @@ UpdateOptionsDialog::UpdateOptionsDialog(QWidget * parent, UpdateInterface * ifa
|
||||
}
|
||||
});
|
||||
|
||||
connect(chkDecompress, &QCheckBox::stateChanged, [=](const int checked) {
|
||||
connect(chkDecompress, &QCheckBox::checkStateChanged, [=](const int checked) {
|
||||
if (!checked) {
|
||||
chkCopy->setChecked(false);
|
||||
chkInstall->setChecked(false);
|
||||
@@ -210,7 +210,7 @@ UpdateOptionsDialog::UpdateOptionsDialog(QWidget * parent, UpdateInterface * ifa
|
||||
}
|
||||
});
|
||||
|
||||
connect(chkCopy, &QCheckBox::stateChanged, [=](const int checked) {
|
||||
connect(chkCopy, &QCheckBox::checkStateChanged, [=](const int checked) {
|
||||
cboCopyFilterType->setEnabled(checked ? (processes & UpdateInterface::UPDFLG_CopyDest) && (!locked) : checked);
|
||||
leCopyFilter->setEnabled(checked ? (processes & UpdateInterface::UPDFLG_CopyDest) && (!locked) : checked);
|
||||
leSubFolder->setEnabled(checked ? (processes & UpdateInterface::UPDFLG_CopyDest) && (!locked) : checked);
|
||||
|
||||
Reference in New Issue
Block a user