Solve problems with usage of QTemporaryFile on MS-Windows
A call to QTemporaryFile::close() may not close the file but only rewind the file pointer to the beginning allwing faster re-open. This causes problems on MS-Windows filesystems, as one cannot e.g. rename the temporary file in this case because it is still kept open from the perspective of the filesystem. Only destroying the object really closes the file on the filesystem. This change makes sure, that the QTemporaryFile object only lives as long as it is needed and closed immediately after by destroying the object. BUG: 436647 FIXED-IN: 5.1.2 (cherry picked from commit 39785a3d)
parent
60237153
Loading
Loading
Pipeline
#61611
passed
with stage
in
19 minutes and 9 seconds
Loading
Please register or sign in to comment