#5657 Don't clear edition when appconfig contains an invalid serial key

This commit is contained in:
Andrew Nelless 2016-10-18 15:13:19 +01:00
parent e48be9099d
commit e5aae66ff7
1 changed files with 0 additions and 1 deletions

View File

@ -31,7 +31,6 @@ LicenseManager::LicenseManager(AppConfig* appConfig) :
} catch (...) {
/* Remove garbage serial keys from the registry */
m_AppConfig->setSerialKey("");
m_AppConfig->setEdition(kUnregistered);
m_AppConfig->saveSettings();
}
}