Closed darealshinji closed 11 months ago
Don't set the filename explicitly!
TXMLPropStorage has a default handler if you don't set a FileName.
Under Windows the settings will be saved in the application directory as PROGRAMNAME.xml.
Under Unix/Linux/macOS it will be saved in the home directory of the current user as .PROGRAMNAME
It is therefore a very good idea to leave the filename blank for unix programs meant to be run by normal users.
The config file
QHConfig.xml
is saved into the current working directory. It would make more sense to save it into a specific config directory, like~/.config/
on Linux.