[Qt-interest] QSettings, linux, overwties backup files?
ext-butch.howard at nokia.com
ext-butch.howard at nokia.com
Fri Feb 12 20:55:22 CET 2010
I am using QSettings to read and write files in the QSettings::IniFormat. I noticed that when there is also a file in the folder created by vi as as backup ( i.e. settings.ini~ ) that this backup file will get overwritten with the content of the QSettings when it writes the settings.ini file. If the vi backup file does not exist in the folder at the time QSettings writes the settings file, a backup file is not created (or at least not left around when it is finished).
Is this behavior of overwriting a file in the backup-filename-format ( NAME~ ) expected? Is it some unintended side affect of some of the file save/sync processing?
Package: libqt4-core
Version: 4.5.3~git20090723-0maemo6+0m5
More information about the Qt-interest-old
mailing list