diff --git a/src/plugins/projectexplorer/deploymentdata.cpp b/src/plugins/projectexplorer/deploymentdata.cpp index 816a311d703..1d9943ae59a 100644 --- a/src/plugins/projectexplorer/deploymentdata.cpp +++ b/src/plugins/projectexplorer/deploymentdata.cpp @@ -40,12 +40,6 @@ void DeploymentData::setLocalInstallRoot(const Utils::FilePath &installRoot) void DeploymentData::addFile(const DeployableFile &file) { - for (int i = 0; i < m_files.size(); ++i) { - if (m_files.at(i).localFilePath() == file.localFilePath()) { - m_files[i] = file; - return; - } - } m_files << file; }