Commit 9738422f authored by Robert Loehning's avatar Robert Loehning Committed by Daniel Teske
Browse files

Compile fix



Change-Id: I13306304f43933a8f0a642f10b6b05b796635f63
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 7f4e31ab
...@@ -247,7 +247,7 @@ void AndroidDeployQtStep::run(QFutureInterface<bool> &fi) ...@@ -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: ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment