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:
Orgad Shaneh
2014-02-26 10:37:17 +02:00
committed by Orgad Shaneh
parent ea01867297
commit da3f3eecc5

View File

@@ -3169,6 +3169,7 @@ void ProjectExplorerPluginPrivate::removeFile()
tr("Could not remove file %1 from project %2.") tr("Could not remove file %1 from project %2.")
.arg(QDir::toNativeSeparators(filePath)) .arg(QDir::toNativeSeparators(filePath))
.arg(folderNode->projectNode()->displayName())); .arg(folderNode->projectNode()->displayName()));
if (!deleteFile)
return; return;
} }