summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidsdkmanagerwidget.cpp
diff options
context:
space:
mode:
authorVikas Pachdha <vikas.pachdha@qt.io>2018-10-24 12:36:53 +0200
committerVikas Pachdha <vikas.pachdha@qt.io>2018-10-24 12:37:33 +0000
commit623294cd38c4c2eeda2c4fdd59d8f3fddd968458 (patch)
tree95142a41cc8921f8d21eddb173743512d44c611b /src/plugins/android/androidsdkmanagerwidget.cpp
parent918713a059d06c3b9a570223dbbf6a9e5b2986c9 (diff)
downloadqt-creator-623294cd38c4c2eeda2c4fdd59d8f3fddd968458.tar.gz
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>
Diffstat (limited to 'src/plugins/android/androidsdkmanagerwidget.cpp')
-rw-r--r--src/plugins/android/androidsdkmanagerwidget.cpp9
1 files changed, 5 insertions, 4 deletions
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.