Send local saves to recycle bin when switching from global to local saves instead of deleting them directly. (#2401)

This commit is contained in:
Mikaël Capelle
2026-06-06 09:28:12 +02:00
committed by GitHub
parent c097670b09
commit 4907704797
+1 -1
View File
@@ -868,7 +868,7 @@ bool Profile::enableLocalSaves(bool enable)
QDialogButtonBox::No | QDialogButtonBox::Yes | QDialogButtonBox::Cancel,
QDialogButtonBox::No);
if (res == QMessageBox::Yes) {
shellDelete(QStringList(m_Directory.absoluteFilePath("saves")));
shellDelete(QStringList(m_Directory.absoluteFilePath("saves")), true);
} else if (res == QMessageBox::No) {
// No action
} else {