forked from qt-creator/qt-creator
RemoteLinux: Fix RsyncDeployService::setDeployableFiles()
It previously did not set, but appended.
Amends 515845b815
.
Change-Id: Ida3bd66e188ad4b1bbf0ea7686ac101a3f61c28e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -91,6 +91,7 @@ private:
|
|||||||
|
|
||||||
void RsyncDeployService::setDeployableFiles(const QList<DeployableFile> &files)
|
void RsyncDeployService::setDeployableFiles(const QList<DeployableFile> &files)
|
||||||
{
|
{
|
||||||
|
m_files.clear();
|
||||||
for (const DeployableFile &f : files)
|
for (const DeployableFile &f : files)
|
||||||
m_files.append({f.localFilePath(), deviceConfiguration()->filePath(f.remoteFilePath())});
|
m_files.append({f.localFilePath(), deviceConfiguration()->filePath(f.remoteFilePath())});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user