From bf575688808e4c8e31feb935c072f1627ef6bc02 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. Change-Id: Ida3bd66e188ad4b1bbf0ea7686ac101a3f61c28e Reviewed-by: Jarek Kobus --- 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 c6cace227ef..cfef60c80a2 100644 --- a/src/plugins/remotelinux/rsyncdeploystep.cpp +++ b/src/plugins/remotelinux/rsyncdeploystep.cpp @@ -91,6 +91,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())}); }