Skip to content
Commit b98e9209 authored by David Edmundson's avatar David Edmundson
Browse files

Fix network cache size for first run

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


(cherry picked from commit 90e271b9)
parent 3441f151
Pipeline #507245 passed with stage
in 1 minute and 13 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment