From 66bbb742f4ed96e64fff589628c9de06ecd41253 Mon Sep 17 00:00:00 2001 From: RJ <122295667+Liderate@users.noreply.github.com> Date: Fri, 23 May 2025 03:18:07 -0400 Subject: [PATCH] Update following SafeWriteFile changes (#12) Co-authored-by: RJ --- src/enderalsegameplugins.cpp | 2 +- src/enderalsegameplugins.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/enderalsegameplugins.cpp b/src/enderalsegameplugins.cpp index 653ba10..d7be8ce 100644 --- a/src/enderalsegameplugins.cpp +++ b/src/enderalsegameplugins.cpp @@ -78,5 +78,5 @@ void EnderalSEGamePlugins::writePluginList(const MOBase::IPluginList* pluginList "and rename them.")); } - file.commitIfDifferent(m_LastSaveHash[filePath]); + file->commit(); } diff --git a/src/enderalsegameplugins.h b/src/enderalsegameplugins.h index 275733c..700a074 100644 --- a/src/enderalsegameplugins.h +++ b/src/enderalsegameplugins.h @@ -14,9 +14,6 @@ public: protected: void writePluginList(const MOBase::IPluginList* pluginList, const QString& filePath) override; - -private: - std::map m_LastSaveHash; }; #endif // ENDERALSEGAMEPLUGINS_H