Android: Code cosmetics

Remove unused functions, inline rarely-used code, ...

Change-Id: Ib3b0645cebf6bfabea1f4f2b4c5a582afca18101
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
hjk
2019-01-18 18:07:54 +01:00
parent e9ba3e1b7c
commit 90e31668d6
6 changed files with 19 additions and 42 deletions

View File

@@ -128,7 +128,7 @@ bool AndroidDeployQtStep::init()
ProjectExplorer::BuildConfiguration *bc = buildConfiguration();
QTC_ASSERT(deployQtLive || bc, return false);
auto androidBuildApkStep = AndroidGlobal::buildStep<AndroidBuildApkStep>(bc);
auto androidBuildApkStep = AndroidBuildApkStep::findInBuild(bc);
if (!androidBuildApkStep && !deployQtLive) {
emit addOutput(tr("Cannot find the android build step."), OutputFormat::Stderr);
return false;