RemoteLinux: Fix RsyncDeployService::setDeployableFiles()

It previously did not set, but appended.

Amends 515845b815.

Cherry-picked from bf57568880

Change-Id: Ida3bd66e188ad4b1bbf0ea7686ac101a3f61c28e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
hjk
2022-10-17 12:09:09 +02:00
parent 4667d8ae4e
commit 18670aa74a

View File

@@ -110,6 +110,7 @@ private:
void RsyncDeployService::setDeployableFiles(const QList<DeployableFile> &files)
{
m_files.clear();
for (const DeployableFile &f : files)
m_files.append({f.localFilePath(), deviceConfiguration()->filePath(f.remoteFilePath())});
}