Fix tile cache not honoring cost 0


This patch fixes the case of disabling the various caches.
Currently setting the cache size to 0 results in default initial values
instead.

Change-Id: I019cd15ac23b6479e4367a3e102dd661895a7fda
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitf09e5fb2eaba4a3d3f131fa4a4392ec49d02af0d
parent7e6c4b8229ea03b25a271a7a61094f28abc504eb
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeMon, 11 Sep 2017 10:45:01 +0000