From 18670aa74a95a866426be9d7cfcd045e821cdbd1 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 17 Oct 2022 12:09:09 +0200 Subject: [PATCH] RemoteLinux: Fix RsyncDeployService::setDeployableFiles() It previously did not set, but appended. Amends 515845b815c. Cherry-picked from bf575688808e4c8e31feb935c072f1627ef6bc02 Change-Id: Ida3bd66e188ad4b1bbf0ea7686ac101a3f61c28e Reviewed-by: Eike Ziller Reviewed-by: Jarek Kobus Reviewed-by: Qt CI Bot --- src/plugins/remotelinux/rsyncdeploystep.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/remotelinux/rsyncdeploystep.cpp b/src/plugins/remotelinux/rsyncdeploystep.cpp index 7b8cf858f19..044b8aa31d6 100644 --- a/src/plugins/remotelinux/rsyncdeploystep.cpp +++ b/src/plugins/remotelinux/rsyncdeploystep.cpp @@ -110,6 +110,7 @@ private: void RsyncDeployService::setDeployableFiles(const QList &files) { + m_files.clear(); for (const DeployableFile &f : files) m_files.append({f.localFilePath(), deviceConfiguration()->filePath(f.remoteFilePath())}); }