#5617 Remove PluginManager from SettingsDialog

This commit is contained in:
Andrew Nelless 2016-09-27 16:11:51 +01:00
parent 1fceb2b646
commit 964e6d2f12
1 changed files with 1 additions and 8 deletions

View File

@ -18,7 +18,6 @@
#include "SettingsDialog.h" #include "SettingsDialog.h"
#include "PluginManager.h"
#include "CoreInterface.h" #include "CoreInterface.h"
#include "SynergyLocale.h" #include "SynergyLocale.h"
#include "QSynergyApplication.h" #include "QSynergyApplication.h"
@ -61,14 +60,8 @@ SettingsDialog::SettingsDialog(QWidget* parent, AppConfig& config) :
m_pComboElevate->hide(); m_pComboElevate->hide();
#endif #endif
if (!PluginManager::exist(networkSecurity)) {
m_pGroupNetworkSecurity->setEnabled(false);
m_pCheckBoxEnableCrypto->setChecked(false);
}
else {
m_pCheckBoxEnableCrypto->setChecked(m_AppConfig.getCryptoEnabled()); m_pCheckBoxEnableCrypto->setChecked(m_AppConfig.getCryptoEnabled());
} }
}
void SettingsDialog::accept() void SettingsDialog::accept()
{ {