From 4907704797c66b64aab98a8bc4643109e784633e Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sat, 6 Jun 2026 09:28:12 +0200 Subject: Send local saves to recycle bin when switching from global to local saves instead of deleting them directly. (#2401) --- src/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile.cpp b/src/profile.cpp index 001c9816..4970f457 100644 --- a/src/profile.cpp +++ b/src/profile.cpp @@ -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 { -- cgit v1.3.1