summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstyle.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-04-15 17:31:23 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2021-04-16 11:00:05 +0200
commitc254d73be63033497838807119cb9cb47ca6c1fa (patch)
tree99fcc807020eea7e9914781903d4f1c734e44edc /src/widgets/styles/qstyle.cpp
parentd4242b8af3e6eb5e9f68e5ff2efee97de11da892 (diff)
QNetworkDiskCache: Drop the file mmap-ing
Presumably the code at some point would do a QByteArray::fromRawData-style thing. But now it doesn't do that so the current code was a bit strange. It would map the content of the file to memory only to then copy the content into a QByteArray. Then it reparents the file to the QBuffer, keeping it alive even if its not needed. Fixes: QTBUG-92838 Pick-to: 6.1 6.0 5.15 Change-Id: I88f8cd1b64e0fd13d08b5cc4df44661e216da340 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/widgets/styles/qstyle.cpp')
0 files changed, 0 insertions, 0 deletions