forked from qt-creator/qt-creator
Android: turn "use Ministro" into a checkbox
Ministro is an advanced deployment option which requires knowledge of how to set up and maintain a Ministro repository. Place it with the other advanced options instead of as a checkbox alongside the normal deployent mechanism which is used by default and probably in the vast majority of cases, in order to reduce cognitive load on the user and clean up the UI a bit (since two options in a radio selection doesn't make much sense). Task-number: QTBUG-62995 Change-Id: If33b3c73db4fcc66717dd4ff0f7923f0250e8418 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -224,7 +224,7 @@ bool AndroidManager::bundleQt(ProjectExplorer::Target *target)
|
||||
AndroidBuildApkStep *androidBuildApkStep
|
||||
= AndroidGlobal::buildStep<AndroidBuildApkStep>(target->activeBuildConfiguration());
|
||||
if (androidBuildApkStep)
|
||||
return androidBuildApkStep->deployAction() == AndroidBuildApkStep::BundleLibrariesDeployment;
|
||||
return !androidBuildApkStep->useMinistro();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user