forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user