Changed: Create a backup if version of default config is incremented, see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-08-06 20:11:48 +02:00
parent ca02500271
commit a25697fbda

View file

@ -184,7 +184,8 @@ bool CConfigFile::load(const QString &filename)
if (useDefaultValues) 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 // custom choices, always keep them