Android: rephrase sdk download popup question

Remove the double column, put the path in new line to avoid potential
word wrap at the start, and surround it with quotes.

Change-Id: Ifb33e4efaaa13342bfc3a75fc58d67e359e4e804
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Assam Boudjelthia
2022-03-06 16:39:27 +02:00
parent b6c83df7d9
commit 5f16074cb3
3 changed files with 5 additions and 4 deletions

View File

@@ -682,8 +682,9 @@ void AndroidSettingsWidget::downloadSdk()
return;
}
const QString message = tr("Download and install Android SDK Tools to: %1?")
.arg(m_ui.SDKLocationPathChooser->filePath().cleanPath().toUserOutput());
const QString message = tr("Download and install Android SDK Tools to %1?")
.arg("\n\"" + m_ui.SDKLocationPathChooser->filePath().cleanPath().toUserOutput()
+ "\"");
auto userInput = QMessageBox::information(this, AndroidSdkDownloader::dialogTitle(),
message, QMessageBox::Yes | QMessageBox::No);
if (userInput == QMessageBox::Yes)