Re: Doubts regarding QLockFile and QSettings
How are you using QSettings? I don't have the QSettings object instantiated for the duration of my program lifetime, is that what you're doing? Try to minimize the time that your QSettings is instantiated, i.e. allocate it on the stack in the method that you use to read or write preference values and let it go out of scope at the end of those functions.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks