forked from qt-creator/qt-creator
Compile fix
Change-Id: I13306304f43933a8f0a642f10b6b05b796635f63 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
7f4e31ab69
commit
9738422f6d
@@ -247,7 +247,7 @@ void AndroidDeployQtStep::run(QFutureInterface<bool> &fi)
|
|||||||
|
|
||||||
ProjectExplorer::ProcessParameters *pp = processParameters();
|
ProjectExplorer::ProcessParameters *pp = processParameters();
|
||||||
QString args;
|
QString args;
|
||||||
for (const QString arg : AndroidDeviceInfo::adbSelector(m_serialNumber))
|
foreach (const QString arg, AndroidDeviceInfo::adbSelector(m_serialNumber))
|
||||||
Utils::QtcProcess::addArg(&args, arg);
|
Utils::QtcProcess::addArg(&args, arg);
|
||||||
|
|
||||||
Utils::QtcProcess::addArg(&args, QLatin1String("install"));
|
Utils::QtcProcess::addArg(&args, QLatin1String("install"));
|
||||||
|
@@ -47,7 +47,7 @@ public:
|
|||||||
|
|
||||||
template<class T> static T *buildStep(const ProjectExplorer::BuildConfiguration *dc)
|
template<class T> static T *buildStep(const ProjectExplorer::BuildConfiguration *dc)
|
||||||
{
|
{
|
||||||
for (const Core::Id &id : dc->knownStepLists()) {
|
foreach (const Core::Id &id, dc->knownStepLists()) {
|
||||||
ProjectExplorer::BuildStepList *bsl = dc->stepList(id);
|
ProjectExplorer::BuildStepList *bsl = dc->stepList(id);
|
||||||
if (!bsl)
|
if (!bsl)
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user