Commit e90633a8 authored by Christian Strømme's avatar Christian Strømme Committed by Christian Stromme

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: default avatarBogDan Vatra <bogdan@kde.org>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent f0147ba1
......@@ -137,8 +137,10 @@ void AndroidCreateKeystoreCertificate::on_buttonBox_accepted()
break;
}
if (!ui->aliasNameLineEdit->text().length())
if (!ui->aliasNameLineEdit->text().length()) {
ui->aliasNameLineEdit->setFocus();
return;
}
if (!ui->commonNameLineEdit->text().length())
ui->commonNameLineEdit->setFocus();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment