Android: Use correct form of error message

Change-Id: Ie2756514d68fb02e15fbe97216bbf3c56ddfe77a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Orgad Shaneh
2017-01-20 10:08:43 +02:00
committed by Orgad Shaneh
parent 5f3442d25e
commit 585ef766cc

View File

@@ -184,7 +184,7 @@ bool AndroidBuildApkStep::verifyKeystorePassword()
{
if (!m_keystorePath.exists()) {
addOutput(tr("Cannot sign the package. Invalid keystore path(%1).")
.arg(m_keystorePath.toString()), OutputFormat::Stderr);
.arg(m_keystorePath.toString()), OutputFormat::ErrorMessage);
return false;
}
@@ -204,7 +204,7 @@ bool AndroidBuildApkStep::verifyCertificatePassword()
if (!AndroidManager::checkCertificateExists(m_keystorePath.toString(), m_keystorePasswd,
m_certificateAlias)) {
addOutput(tr("Cannot sign the package. Certificate alias %1 does not exist.")
.arg(m_certificateAlias), OutputFormat::Stderr);
.arg(m_certificateAlias), OutputFormat::ErrorMessage);
return false;
}