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();
|
||||
} 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.
|
||||
|
Reference in New Issue
Block a user