From a25697fbda5aa3a3cef90bf482afc1e364e5025f Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 6 Aug 2016 20:11:48 +0200 Subject: [PATCH] Changed: Create a backup if version of default config is incremented, see #279 --HG-- branch : develop --- code/ryzom/tools/client/ryzom_installer/src/configfile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp index 204f86229..de485e870 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/configfile.cpp @@ -184,7 +184,8 @@ bool CConfigFile::load(const QString &filename) if (useDefaultValues) { - // TODO: make a backup of custom installer.ini + // make a backup of custom ryzom_installer.ini + QFile::copy(filename, filename + ".bak"); } // custom choices, always keep them