#6338 Hide auto config setting for Enterprise build
This commit is contained in:
parent
c0452f0e61
commit
53d5c89851
|
@ -78,13 +78,21 @@ SettingsDialog::SettingsDialog(QWidget* parent, AppConfig& config) :
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_pCheckBoxEnableCrypto->setChecked(m_appConfig.getCryptoEnabled());
|
m_pCheckBoxEnableCrypto->setChecked(m_appConfig.getCryptoEnabled());
|
||||||
|
|
||||||
#ifdef SYNERGY_ENTERPRISE
|
#ifdef SYNERGY_ENTERPRISE
|
||||||
|
|
||||||
m_pCheckBoxEnableCrypto->setEnabled(true);
|
m_pCheckBoxEnableCrypto->setEnabled(true);
|
||||||
m_pLabelProUpgrade->hide();
|
m_pLabelProUpgrade->hide();
|
||||||
|
|
||||||
|
m_pCheckBoxAutoConfig->hide();
|
||||||
|
m_pLabelInstallBonjour->hide();
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
bool isPro = m_appConfig.edition() == kPro;
|
bool isPro = m_appConfig.edition() == kPro;
|
||||||
m_pCheckBoxEnableCrypto->setEnabled(isPro);
|
m_pCheckBoxEnableCrypto->setEnabled(isPro);
|
||||||
m_pLabelProUpgrade->setVisible(!isPro);
|
m_pLabelProUpgrade->setVisible(!isPro);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue