summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index eb2eff87..a6d8f49d 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -675,14 +675,13 @@ bool Profile::enableLocalSaves(bool enable)
m_Directory.mkdir("saves");
}
} else {
-
QMessageBox::StandardButton res = QMessageBox::question(QApplication::activeModalWidget(), tr("Delete savegames?"),
tr("Do you want to delete local savegames? (If you select \"No\", the save games "
"will show up again if you re-enable local savegames)"),
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel,
QMessageBox::Cancel);
if (res == QMessageBox::Yes) {
- shellDelete(QStringList(m_Directory.absoluteFilePath("_saves")));
+ shellDelete(QStringList(m_Directory.absoluteFilePath("saves")));
} else if (res == QMessageBox::No) {
m_Directory.rename("saves", "_saves");
} else {