summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index bbb5b814..7f10bd02 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -753,6 +753,7 @@ bool Profile::enableLocalSettings(bool enable)
QString backupFile = getIniFileName() + "_";
if (enable) {
if (m_Directory.exists(backupFile)) {
+
shellRename(backupFile, getIniFileName());
} else {
IPluginGame *game = qApp->property("managed_game").value<IPluginGame *>();