Android: Show native paths in .pro File selection dialogs

Change-Id: I99e15a5d9ae3074447513e5e08f843c05653957e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2021-11-30 17:25:50 +01:00
parent 0cc4617c78
commit fd768cf55e

View File

@@ -112,7 +112,7 @@ ChooseProFilePage::ChooseProFilePage(CreateAndroidManifestWizard *wizard)
m_comboBox = new QComboBox(this); m_comboBox = new QComboBox(this);
for (const BuildTargetInfo &bti : buildSystem->applicationTargets()) { for (const BuildTargetInfo &bti : buildSystem->applicationTargets()) {
const QString displayName = bti.buildKey; const QString displayName = QDir::toNativeSeparators(bti.buildKey);
m_comboBox->addItem(displayName, QVariant(bti.buildKey)); // TODO something more? m_comboBox->addItem(displayName, QVariant(bti.buildKey)); // TODO something more?
if (bti.buildKey == currentBuildKey) if (bti.buildKey == currentBuildKey)
m_comboBox->setCurrentIndex(m_comboBox->count() - 1); m_comboBox->setCurrentIndex(m_comboBox->count() - 1);