Cleanup after the qsf cache file if it fails to be written to
authorAndy Shaw <andy.shaw@digia.com>
Tue, 6 Mar 2012 09:39:34 +0000 (10:39 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Mar 2012 22:29:37 +0000 (23:29 +0100)
commit0850b5d76a242abe5beef05e2566957b695099a8
tree33f7ff591d9c0e0306b4d51b5ea0ac8c6c3b9124
parent13c57d0f68cffb139311e8e22a074099eb28a88f
Cleanup after the qsf cache file if it fails to be written to

It is possible that although a qsf cache file could be opened that it
could not be written to, therefore it should clean up after itself in
these cases so that it does not cause a problem later on.

Task-number: QTBUG-24122
Change-Id: I1999759837607657ddc3f967eeda370ce9991a16
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/text/qfontengine_qpf.cpp