forked from qt-creator/qt-creator
Android: Don't create a certificate if the alias field is empty.
We need to make sure that the user fills in the alias field before we generate the certificate. If the certificate does not have an alias, the package creation step will only create debug packages. Task-number: QTCREATORBUG-10050 Change-Id: I247c7218a55ec86bdb1408c90f7f403b2ebbe2a4 Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Christian Stromme
parent
f0147ba19f
commit
e90633a8fa
@@ -137,8 +137,10 @@ void AndroidCreateKeystoreCertificate::on_buttonBox_accepted()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ui->aliasNameLineEdit->text().length())
|
if (!ui->aliasNameLineEdit->text().length()) {
|
||||||
ui->aliasNameLineEdit->setFocus();
|
ui->aliasNameLineEdit->setFocus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!ui->commonNameLineEdit->text().length())
|
if (!ui->commonNameLineEdit->text().length())
|
||||||
ui->commonNameLineEdit->setFocus();
|
ui->commonNameLineEdit->setFocus();
|
||||||
|
|||||||
Reference in New Issue
Block a user