Commit 030ac4f2 authored by Tobias Nätterlund's avatar Tobias Nätterlund Committed by Eike Ziller
Browse files

QNX: Fix password length warning in environment setup wizard



Task-number: QTCREATORBUG-10760

Change-Id: I5377246968c892bd1232ae7c80d4d84585a66267
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 8d99c7e4
......@@ -220,6 +220,13 @@ void BlackBerrySetupWizardCertificatePage::validate()
return;
}
if (m_ui->password->text().size() < 6) {
// TODO: Use tr() once string freeze is over
m_ui->status->setText(QCoreApplication::translate("Qnx::Internal::BlackBerryCreateCertificateDialog", "Password must be at least 6 characters long."));
setComplete(false);
return;
}
m_ui->status->clear();
setComplete(true);
}
......
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