From b531bbff39bfe6df18e324b0d0785eb1f8e0163d Mon Sep 17 00:00:00 2001 From: RJ <122295667+Liderate@users.noreply.github.com> Date: Fri, 23 May 2025 03:18:03 -0400 Subject: Update following SafeWriteFile changes (#2218) Co-authored-by: RJ --- src/profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profile.cpp') 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; -- cgit v1.3.1