summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2026-06-06 09:28:12 +0200
committerGitHub <noreply@github.com>2026-06-06 09:28:12 +0200
commit4907704797c66b64aab98a8bc4643109e784633e (patch)
treed9a95d2002650a4f7da953cdc599ebf401fde064 /src/profile.cpp
parentc097670b0911bde2ee604b4ef1704b08608d87f5 (diff)
Send local saves to recycle bin when switching from global to local saves instead of deleting them directly. (#2401)
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp2
1 files changed, 1 insertions, 1 deletions
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 {