Skip to content

Commit

Permalink
don't require a license to enable SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
cardonator committed Jan 20, 2017
1 parent 9799e96 commit 20d910e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/src/AppConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ void AppConfig::setCryptoEnabled(bool e) {
}

bool AppConfig::getCryptoEnabled() const {
return (edition() == kPro) && m_CryptoEnabled;
return m_CryptoEnabled;
}

void AppConfig::setAutoHide(bool b) { m_AutoHide = b; }
Expand Down
2 changes: 1 addition & 1 deletion src/gui/src/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ SettingsDialog::SettingsDialog(QWidget* parent, AppConfig& config) :
#endif

m_pCheckBoxEnableCrypto->setChecked(m_appConfig.getCryptoEnabled());
m_pCheckBoxEnableCrypto->setEnabled(m_appConfig.edition() == kPro);
m_pCheckBoxEnableCrypto->setEnabled(true);
}

void SettingsDialog::accept()
Expand Down

0 comments on commit 20d910e

Please sign in to comment.