Commit da3f3eec authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ProjectExplorer: Delete file even if failed to remove



... when user asks to delete from FS.

When a file is included using a wildcard, the project managers fail to
delete it.

Change-Id: I4f2bc6373c5ade8c5e06b580e41519c63f47891d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent ea018672
......@@ -3169,7 +3169,8 @@ void ProjectExplorerPluginPrivate::removeFile()
tr("Could not remove file %1 from project %2.")
.arg(QDir::toNativeSeparators(filePath))
.arg(folderNode->projectNode()->displayName()));
return;
if (!deleteFile)
return;
}
DocumentManager::expectFileChange(filePath);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment