#5657 Remove whitespace for serial key input
This commit is contained in:
parent
e65631c451
commit
e48be9099d
|
@ -58,7 +58,7 @@ void ActivationDialog::accept()
|
||||||
|
|
||||||
std::pair<bool, QString> result;
|
std::pair<bool, QString> result;
|
||||||
try {
|
try {
|
||||||
QString serialKey = ui->m_pTextEditSerialKey->toPlainText();
|
QString serialKey = ui->m_pTextEditSerialKey->toPlainText().trimmed();
|
||||||
result = m_LicenseManager->setSerialKey(serialKey);
|
result = m_LicenseManager->setSerialKey(serialKey);
|
||||||
}
|
}
|
||||||
catch (std::exception& e) {
|
catch (std::exception& e) {
|
||||||
|
|
Loading…
Reference in New Issue