forked from qt-creator/qt-creator
Core: Remove FileUtils::removeFile(QString)
Only used once, and there's an easily accessible removeFiles(FilePaths) at hand. Change-Id: I939298515f27cd34d08afa327ebe198bc30851a1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -168,11 +168,6 @@ QString FileUtils::msgTerminalWithAction()
|
||||
"Opens a submenu for choosing an environment, such as \"Run Environment\"");
|
||||
}
|
||||
|
||||
void FileUtils::removeFile(const QString &filePath, bool deleteFromFS)
|
||||
{
|
||||
removeFiles({FilePath::fromString(filePath)}, deleteFromFS);
|
||||
}
|
||||
|
||||
void FileUtils::removeFiles(const FilePaths &filePaths, bool deleteFromFS)
|
||||
{
|
||||
// remove from version control
|
||||
|
||||
Reference in New Issue
Block a user