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 c74c8984b9
commit 16d6357cb6

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