mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Less destructive delete
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
(cherry picked from commit 398305eb66)
This commit is contained in:
parent
6ef89db08e
commit
e3b3ef65ee
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class ShaderPackIndexMigrateTask : public Task {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!m_indexDir.removeRecursively()) {
|
||||
if (FS::deletePath(m_indexDir.absolutePath())) {
|
||||
emitFailed(tr("Failed to remove old .index dir"));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue