From 9c31cfa915f71adee8579aa97c12b64903ec9446 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 30 Aug 2013 20:59:12 +0200 Subject: - the download manager now registers download speed. Right now this is only used to display an average speed on the settings menu - added a python27.dll compiled with vc100. This can now be bundled without introducing more dependencies - bugfix: extracting now stops after an error - bugfix: the way hook.dll caused CREATE_ALWAYS/CREATE_NEW to always write into overwrite could lead to the file being created when the call should have failed (because the file existed and was protected) - bugfix: GetPrivateProfileString does NOT properly report files as missing. This means that the ini-query optimization could optimize away requests that should work - bugfix: fomod installer couldn't display images because they were unpacked to the wrong temporary location - bugfix: When disabling local saves and choosing to delete the saves nothing happened - bugfix: the python plugin couldn't find the pyqt libraries --- src/profile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/profile.cpp') 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 { -- cgit v1.3.1