summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorRJ <122295667+Liderate@users.noreply.github.com>2025-05-23 03:18:03 -0400
committerGitHub <noreply@github.com>2025-05-23 09:18:03 +0200
commitb531bbff39bfe6df18e324b0d0785eb1f8e0163d (patch)
tree02ecabce1db3f9dfc137df5e281abdb11375b041 /src/profile.cpp
parent3ef0db4cca1971ed1552c0314e0039dac792d2e5 (diff)
Update following SafeWriteFile changes (#2218)
Co-authored-by: RJ <Liderate@users.noreply.github.com>
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;