forked from qt-creator/qt-creator
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: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ea01867297
commit
da3f3eecc5
@@ -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);
|
||||
|
Reference in New Issue
Block a user