mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 10:20:54 +00:00
Changed: Create a backup if version of default config is incremented, see #279
--HG-- branch : develop
This commit is contained in:
parent
ca02500271
commit
a25697fbda
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue