mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
Less destructive delete
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
d625a28112
commit
398305eb66
|
|
@ -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…
Reference in a new issue