aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllocale_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-09-21 11:23:02 +0200
committerUlf Hermann <ulf.hermann@qt.io>2016-10-06 12:40:35 +0000
commit6c05fe9cb760a9a26d7a1a8037aa62966a3bd344 (patch)
tree58b6f36127be0a0ad77c800d952f803fcb4d0ea8 /src/qml/qml/qqmllocale_p.h
parent3b14e2ffdd8eb4b7f7f4508768b75f2acc399370 (diff)
QQmlTypeLoader: Clean up trimCache()
Any type that: a, has exactly one reference (from the type cache) b, has finished loading, and is thus either in Error or Complete state c, either has no compiled data or again exactly one reference on the compiled data (from the type) is not needed anymore and can be trimmed. The previous logic would not trim types with errors that have received compiled data by loading from a file and it was generally harder to understand. Change-Id: Ieb9ce29599411ea5516742b874cbcf3dcab03bde Reviewed-by: Michael Brasser <michael.brasser@live.com> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmllocale_p.h')
0 files changed, 0 insertions, 0 deletions