Skip to content

Fix network cache size for first run

David Edmundson requested to merge work/cherry-pick-90e271b9 into Plasma/5.27

QNetworkDiskCache will take care of creating a directory if it doesn't exist. QStorageInfo on a directory that doesn't exist will return that it has 0 bytesTotal.

As well as being potentially inefficient for the second run, it has been reported that a QNetworkDiskCache of 0 causes out of bounds memory writes.

CCBUG: 464517 BUG: 463864

(cherry picked from commit 90e271b9)

Merge request reports

Loading