ProjectExplorer: Remove one constructor overload of DeployableFile

Change-Id: I87e444349129e9370b5fec505444723d36e21448
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2021-09-13 12:55:01 +02:00
parent e65827c04a
commit cb4f75426d
16 changed files with 36 additions and 43 deletions

View File

@@ -1127,7 +1127,7 @@ DeploymentData CMakeBuildSystem::deploymentData() const
if (ct.targetType == ExecutableType || ct.targetType == DynamicLibraryType) {
if (!ct.executable.isEmpty()
&& result.deployableForLocalFile(ct.executable).localFilePath() != ct.executable) {
result.addFile(ct.executable.toString(),
result.addFile(ct.executable,
deploymentPrefix + buildDir.relativeFilePath(ct.executable.toFileInfo().dir().path()),
DeployableFile::TypeExecutable);
}