summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
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 a0c5a2d4..2d8247a7 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -273,7 +273,7 @@ void Profile::doWriteModlist()
}
}
- file.commitIfDifferent(m_LastModlistHash);
+ file->commit();
} catch (const std::exception& e) {
reportError(tr("failed to write mod list: %1").arg(e.what()));
return;