#5784 Fix using the wrong serial key

This commit is contained in:
Jerry (Xinyu Hou) 2016-12-28 15:57:15 +00:00 committed by GitHub
parent ade4b7f8a2
commit b69570ec2c
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ LicenseManager::setSerialKey(SerialKey serialKey, bool acceptExpired)
using std::swap; using std::swap;
swap (serialKey, m_serialKey); swap (serialKey, m_serialKey);
m_AppConfig->setSerialKey(QString::fromStdString m_AppConfig->setSerialKey(QString::fromStdString
(serialKey.toString())); (m_serialKey.toString()));
emit serialKeyChanged(m_serialKey); emit serialKeyChanged(m_serialKey);
if (serialKey.isTrial()) { if (serialKey.isTrial()) {