forked from qt-creator/qt-creator
Android: Fix Android SDK license dialog text
Task-number: QTCREATORBUG-21374 Change-Id: I33a145498d514a47028123639bb0808fc714d371 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -287,10 +287,11 @@ void AndroidSdkManagerWidget::onLicenseCheckResult(const AndroidSdkManager::Oper
|
|||||||
runPendingCommand();
|
runPendingCommand();
|
||||||
} else {
|
} else {
|
||||||
// Assertion was found. Provide user workflow to accept licenses.
|
// Assertion was found. Provide user workflow to accept licenses.
|
||||||
QString warningMessage = tr("\nPlease note that the installation and use of Android SDK "
|
QString warningMessage = tr("Review Android SDK package licenses that have not been "
|
||||||
"packages may fail if respective licenses are not accepted.");
|
"accepted?\nPlease note that the installation and use of "
|
||||||
int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"),
|
"Android SDK packages may fail if respective licenses are not "
|
||||||
output.stdOutput + warningMessage,
|
"accepted.");
|
||||||
|
int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"), warningMessage,
|
||||||
QMessageBox::Yes | QMessageBox::No);
|
QMessageBox::Yes | QMessageBox::No);
|
||||||
if (userSelection == QMessageBox::Yes) {
|
if (userSelection == QMessageBox::Yes) {
|
||||||
// Run license workflow.
|
// Run license workflow.
|
||||||
|
Reference in New Issue
Block a user