mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 13:17:41 +02:00
Replaced QFile::remove with FS::deletePath
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@ -336,7 +336,7 @@ bool Component::revert()
|
||||
bool result = true;
|
||||
// just kill the file and reload
|
||||
if (QFile::exists(filename)) {
|
||||
result = QFile::remove(filename);
|
||||
result = FS::deletePath(filename);
|
||||
}
|
||||
if (result) {
|
||||
// file gone...
|
||||
|
Reference in New Issue
Block a user