summaryrefslogtreecommitdiff
path: root/library/processXml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/processXml.cpp')
-rw-r--r--library/processXml.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/library/processXml.cpp b/library/processXml.cpp
index af16f91e..4773fb72 100644
--- a/library/processXml.cpp
+++ b/library/processXml.cpp
@@ -416,6 +416,9 @@ void FfsXmlParser::readXmlGlobalSettings(xmlAccess::XmlGlobalSettings& outputCfg
//last update check
readXmlElementLogging("LastCheckForUpdates", global, outputCfg.lastUpdateCheck);
+ //minimum size (in bytes) for files to be considered for rename-detection
+ readXmlElementLogging("DetectRenameThreshold", global, outputCfg.detectRenameThreshold);
+
const TiXmlElement* optionalDialogs = TiXmlHandleConst(root).FirstChild("Shared").FirstChild("ShowOptionalDialogs").ToElement();
@@ -814,6 +817,9 @@ bool writeXmlGlobalSettings(const xmlAccess::XmlGlobalSettings& inputCfg, TiXmlD
//last update check
addXmlElement("LastCheckForUpdates", inputCfg.lastUpdateCheck, global);
+ //minimum size (in bytes) for files to be considered for rename-detection
+ addXmlElement("DetectRenameThreshold", inputCfg.detectRenameThreshold, global);
+
//optional dialogs
TiXmlElement* optionalDialogs = new TiXmlElement("ShowOptionalDialogs");
bgstack15