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

This commit is contained in:
kervala 2016-08-06 20:11:48 +02:00
parent 7da8610a58
commit 3e4ee23200

View file

@ -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