mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
move ExtractZipTask
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
60b2585711
commit
8c36be048c
17 changed files with 267 additions and 580 deletions
|
|
@ -1702,4 +1702,14 @@ QString getUniqueResourceName(const QString& filePath)
|
|||
|
||||
return newFileName;
|
||||
}
|
||||
bool removeFiles(QStringList listFile)
|
||||
{
|
||||
bool ret = true;
|
||||
// For each file
|
||||
for (int i = 0; i < listFile.count(); i++) {
|
||||
// Remove
|
||||
ret = ret && QFile::remove(listFile.at(i));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
} // namespace FS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue