That's because you create the QFile object as a temporary variable so it gets destroyed immediately effectively closing the file and removing the lock.
That's because you create the QFile object as a temporary variable so it gets destroyed immediately effectively closing the file and removing the lock.
slava (9th March 2008)
Bookmarks