SYNERGY-322Synergy loses edition when creating a System scope config
This commit is contained in:
parent
a52abb8ce9
commit
37d8b62620
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,6 @@ void AppConfig::loadSettings()
|
||||||
m_ElevateMode = static_cast<ElevateMode>(elevateMode.toInt());
|
m_ElevateMode = static_cast<ElevateMode>(elevateMode.toInt());
|
||||||
}
|
}
|
||||||
|
|
||||||
m_Edition = static_cast<Edition>(loadSetting(kEditionSetting, kUnregistered).toInt());
|
|
||||||
m_ActivateEmail = loadSetting(kActivateEmail, "").toString();
|
m_ActivateEmail = loadSetting(kActivateEmail, "").toString();
|
||||||
m_CryptoEnabled = loadSetting(kCryptoEnabled, true).toBool();
|
m_CryptoEnabled = loadSetting(kCryptoEnabled, true).toBool();
|
||||||
m_AutoHide = loadSetting(kAutoHide, false).toBool();
|
m_AutoHide = loadSetting(kAutoHide, false).toBool();
|
||||||
|
|
@ -258,6 +257,7 @@ void AppConfig::loadSettings()
|
||||||
|
|
||||||
if (updateSerial) {
|
if (updateSerial) {
|
||||||
m_Serialkey = loadSetting(kSerialKey, "").toString().trimmed();
|
m_Serialkey = loadSetting(kSerialKey, "").toString().trimmed();
|
||||||
|
m_Edition = static_cast<Edition>(loadSetting(kEditionSetting, kUnregistered).toInt());
|
||||||
}
|
}
|
||||||
|
|
||||||
//Set the default path of the TLS certificate file in the users DIR
|
//Set the default path of the TLS certificate file in the users DIR
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue