#5657 Remove whitespace for serial key input

This commit is contained in:
Jerry (Xinyu Hou) 2016-10-18 13:05:29 +01:00
parent e65631c451
commit e48be9099d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ void ActivationDialog::accept()
std::pair<bool, QString> result;
try {
QString serialKey = ui->m_pTextEditSerialKey->toPlainText();
QString serialKey = ui->m_pTextEditSerialKey->toPlainText().trimmed();
result = m_LicenseManager->setSerialKey(serialKey);
}
catch (std::exception& e) {