mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
deprecate any qt version older than qt 6.9.3
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
250d2a87c9
commit
170d59de2a
20 changed files with 76 additions and 68 deletions
|
|
@ -152,13 +152,13 @@ void JavaWizardWidget::setupUi()
|
|||
m_autodownloadCheckBox->setObjectName("autodownloadCheckBox");
|
||||
m_autodownloadCheckBox->setEnabled(m_autodetectJavaCheckBox->isChecked());
|
||||
m_veriticalJavaLayout->addWidget(m_autodownloadCheckBox);
|
||||
connect(m_autodetectJavaCheckBox, &QCheckBox::stateChanged, this, [this] {
|
||||
connect(m_autodetectJavaCheckBox, &QCheckBox::checkStateChanged, this, [this] {
|
||||
m_autodownloadCheckBox->setEnabled(m_autodetectJavaCheckBox->isChecked());
|
||||
if (!m_autodetectJavaCheckBox->isChecked())
|
||||
m_autodownloadCheckBox->setChecked(false);
|
||||
});
|
||||
|
||||
connect(m_autodownloadCheckBox, &QCheckBox::stateChanged, this, [this] {
|
||||
connect(m_autodownloadCheckBox, &QCheckBox::checkStateChanged, this, [this] {
|
||||
auto isChecked = m_autodownloadCheckBox->isChecked();
|
||||
m_versionWidget->setVisible(!isChecked);
|
||||
m_javaStatusBtn->setVisible(!isChecked);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue