From 623294cd38c4c2eeda2c4fdd59d8f3fddd968458 Mon Sep 17 00:00:00 2001 From: Vikas Pachdha Date: Wed, 24 Oct 2018 12:36:53 +0200 Subject: Android: Fix Android SDK license dialog text Task-number: QTCREATORBUG-21374 Change-Id: I33a145498d514a47028123639bb0808fc714d371 Reviewed-by: Eike Ziller Reviewed-by: Leena Miettinen --- src/plugins/android/androidsdkmanagerwidget.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/plugins/android/androidsdkmanagerwidget.cpp') diff --git a/src/plugins/android/androidsdkmanagerwidget.cpp b/src/plugins/android/androidsdkmanagerwidget.cpp index bd255b5ef8..c2a37d0718 100644 --- a/src/plugins/android/androidsdkmanagerwidget.cpp +++ b/src/plugins/android/androidsdkmanagerwidget.cpp @@ -287,10 +287,11 @@ void AndroidSdkManagerWidget::onLicenseCheckResult(const AndroidSdkManager::Oper runPendingCommand(); } else { // Assertion was found. Provide user workflow to accept licenses. - QString warningMessage = tr("\nPlease note that the installation and use of Android SDK " - "packages may fail if respective licenses are not accepted."); - int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"), - output.stdOutput + warningMessage, + QString warningMessage = tr("Review Android SDK package licenses that have not been " + "accepted?\nPlease note that the installation and use of " + "Android SDK packages may fail if respective licenses are not " + "accepted."); + int userSelection = QMessageBox::question(this, tr("Android SDK Licenses"), warningMessage, QMessageBox::Yes | QMessageBox::No); if (userSelection == QMessageBox::Yes) { // Run license workflow. -- cgit v1.2.1