RemoteLinux: Move some stuff into the new target base class.

All these things were always conceptually per-target, but due to not
having a common target class we had to awkwardly implement the concept
using shared pointers.

Change-Id: I1bb1992a230a485d519a892a6ca602a6846fc3cf
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Christian Kandeler
2012-02-07 14:13:56 +01:00
parent 7e9e3a816f
commit 53e2cbfb7f
23 changed files with 106 additions and 117 deletions

View File

@@ -117,10 +117,9 @@ bool TarPackageCreationStep::init()
if (!m_packagingNeeded)
return true;
const QSharedPointer<DeploymentInfo> deploymentInfo = deployConfiguration()->deploymentInfo();
for (int i = 0; i < deploymentInfo->deployableCount(); ++i) {
const DeploymentInfo * const deploymentInfo = deployConfiguration()->deploymentInfo();
for (int i = 0; i < deploymentInfo->deployableCount(); ++i)
m_files.append(deploymentInfo->deployableAt(i));
}
return true;
}