summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets
diff options
context:
space:
mode:
authorMårten Nordheim <[email protected]>2023-03-03 16:52:34 +0100
committerMårten Nordheim <[email protected]>2023-03-09 16:24:45 +0100
commite5f295c8a458dcd336f7cf3768ca62aded69e659 (patch)
tree10a645b4df2c4d3bd0d59bf577bc5e9a2eb85f0c /src/gui/doc/snippets
parent4201cdab1886b5c39fe722a95e1b0ba462b63b71 (diff)
QNetworkDiskCache: use QSaveFile
QTemporaryFile is not designed to promote temporary files to non-temporary files. So, it, quite importantly, does not care if the content of the files are flushed to disk before renaming it into its 'final' destination. This is what QSaveFile is for. This was much more time-consuming than intended since I had to debug this quirk about calling size(). Pick-to: 6.5 6.4 6.2 Fixes: QTBUG-111397 Change-Id: I15b300f6a5748ad3a0be983545ea621269a12ecd Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/gui/doc/snippets')
0 files changed, 0 insertions, 0 deletions