forked from qt-creator/qt-creator
Android: Remove one more buildTargetSdk() finding roundtrip
... and avoid the implicit used of Target::activeBuildConfiguration() there, Change-Id: I08ec72be601ef7b854b5aec5784b0636c738faa4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -98,7 +98,7 @@ QWidget *AndroidBuildApkWidget::createApplicationGroup()
|
||||
|
||||
auto targetSDKComboBox = new QComboBox(group);
|
||||
targetSDKComboBox->addItems(targets);
|
||||
targetSDKComboBox->setCurrentIndex(targets.indexOf(AndroidManager::buildTargetSDK(step()->target())));
|
||||
targetSDKComboBox->setCurrentIndex(targets.indexOf(m_step->buildTargetSdk()));
|
||||
|
||||
const auto cbActivated = QOverload<int>::of(&QComboBox::activated);
|
||||
connect(targetSDKComboBox, cbActivated, this, [this, targetSDKComboBox](int idx) {
|
||||
|
Reference in New Issue
Block a user