ProjectExplorer: Proliferate Utils::FilePath use

Move the .toString() uses into  DeploymentData::addFilesFromDeploymentFile

Change-Id: Ic9ef22da1918ca105c92f0231960dab27b0d80bb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2023-02-08 08:21:41 +01:00
parent 432d918329
commit 8a8b50e8b5
5 changed files with 8 additions and 10 deletions

View File

@@ -1086,8 +1086,7 @@ DeploymentData CMakeBuildSystem::deploymentData() const
if (!hasDeploymentFile)
return result;
deploymentPrefix = result.addFilesFromDeploymentFile(deploymentFilePath.toString(),
sourceDir.toString());
deploymentPrefix = result.addFilesFromDeploymentFile(deploymentFilePath, sourceDir);
for (const CMakeBuildTarget &ct : m_buildTargets) {
if (ct.targetType == ExecutableType || ct.targetType == DynamicLibraryType) {
if (!ct.executable.isEmpty()