diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2026-06-06 09:28:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-06 09:28:12 +0200 |
| commit | 4907704797c66b64aab98a8bc4643109e784633e (patch) | |
| tree | d9a95d2002650a4f7da953cdc599ebf401fde064 /src/profile.cpp | |
| parent | c097670b0911bde2ee604b4ef1704b08608d87f5 (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.cpp | 2 |
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 { |
