diff options
author | hjk <hjk@qt.io> | 2022-10-17 12:09:09 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-10-18 12:15:39 +0000 |
commit | 18670aa74a95a866426be9d7cfcd045e821cdbd1 (patch) | |
tree | d9d2f50e5ffe9ae5faef0f34106374c9e5312f95 | |
parent | 4667d8ae4eed6cb6a6b139b34b9f9b8b8f6ed8a5 (diff) |
RemoteLinux: Fix RsyncDeployService::setDeployableFiles()
It previously did not set, but appended.
Amends 515845b815c.
Cherry-picked from bf575688808e4c8e31feb935c072f1627ef6bc02
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>
-rw-r--r-- | src/plugins/remotelinux/rsyncdeploystep.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/rsyncdeploystep.cpp b/src/plugins/remotelinux/rsyncdeploystep.cpp index 7b8cf858f1..044b8aa31d 100644 --- a/src/plugins/remotelinux/rsyncdeploystep.cpp +++ b/src/plugins/remotelinux/rsyncdeploystep.cpp @@ -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())}); } |