Hiding SSL / SMTP option when building without SSL support

The SMTP server always uses unencrypted connections in this case so showing the check box is misleading
This commit is contained in:
Brian Kendall 2016-07-18 17:23:47 -04:00
parent 4e8c509157
commit 630871214f

View file

@ -149,6 +149,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
#if defined(QT_NO_OPENSSL)
m_ui->checkWebUiHttps->setVisible(false);
m_ui->checkSmtpSSL->setVisible(false);
#endif
#ifndef Q_OS_WIN