Commit 3c5ae375 authored by ck's avatar ck
Browse files

Maemo: Fix deployment.

This broke after the introduction of a deploy step type.
parent ad02e86e
...@@ -228,7 +228,7 @@ const QString MaemoRunConfiguration::gdbCmd() const ...@@ -228,7 +228,7 @@ const QString MaemoRunConfiguration::gdbCmd() const
const MaemoPackageCreationStep *MaemoRunConfiguration::packageStep() const const MaemoPackageCreationStep *MaemoRunConfiguration::packageStep() const
{ {
const QList<ProjectExplorer::BuildStep *> &buildSteps const QList<ProjectExplorer::BuildStep *> &buildSteps
= activeQt4BuildConfiguration()->steps(ProjectExplorer::BuildStep::Build); = activeQt4BuildConfiguration()->steps(ProjectExplorer::BuildStep::Deploy);
for (int i = buildSteps.count() - 1; i >= 0; --i) { for (int i = buildSteps.count() - 1; i >= 0; --i) {
const MaemoPackageCreationStep * const pStep const MaemoPackageCreationStep * const pStep
= qobject_cast<MaemoPackageCreationStep *>(buildSteps.at(i)); = qobject_cast<MaemoPackageCreationStep *>(buildSteps.at(i));
......
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