forked from qt-creator/qt-creator
RemoteLinux: Inline a few more deploy step functions
Change-Id: Ib93562b24de796f570cfa76dd3990ede5ebc6061 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -45,13 +45,11 @@ public:
|
||||
if (!tarCreationStep)
|
||||
return CheckResult::failure(Tr::tr("No tarball creation step found."));
|
||||
|
||||
const FilePath tarFile =
|
||||
FilePath::fromVariant(tarCreationStep->data(Constants::TarPackageFilePathId));
|
||||
setPackageFilePath(tarFile);
|
||||
m_packageFilePath =
|
||||
FilePath::fromVariant(tarCreationStep->data(Constants::TarPackageFilePathId));
|
||||
return isDeploymentPossible();
|
||||
});
|
||||
}
|
||||
void setPackageFilePath(const FilePath &filePath);
|
||||
|
||||
private:
|
||||
QString remoteFilePath() const;
|
||||
@@ -63,11 +61,6 @@ private:
|
||||
FilePath m_packageFilePath;
|
||||
};
|
||||
|
||||
void TarPackageDeployStep::setPackageFilePath(const FilePath &filePath)
|
||||
{
|
||||
m_packageFilePath = filePath;
|
||||
}
|
||||
|
||||
QString TarPackageDeployStep::remoteFilePath() const
|
||||
{
|
||||
return QLatin1String("/tmp/") + m_packageFilePath.fileName();
|
||||
|
||||
Reference in New Issue
Block a user