diff options
author | João Abecasis <joao@trolltech.com> | 2010-02-02 19:34:23 (GMT) |
---|---|---|
committer | João Abecasis <joao@trolltech.com> | 2010-02-03 14:16:21 (GMT) |
commit | 14054a47230d41063a10ce8fbf7dc65c916163d7 (patch) | |
tree | 50cd404468e90d072bfbad3c6e6a88259318ed6f /tools/qdoc3 | |
parent | 63f66fb0008f93638de782b03f53e9777a941ab7 (diff) | |
download | Qt-14054a47230d41063a10ce8fbf7dc65c916163d7.zip Qt-14054a47230d41063a10ce8fbf7dc65c916163d7.tar.gz Qt-14054a47230d41063a10ce8fbf7dc65c916163d7.tar.bz2 |
QDir fix issues with (shared) cached lists
With 2964718224c0ed356511335742368d4fc421c6bd, QDir started really using
the cached file lists. However, these were not being properly updated on
setNameFilters, setFilter and setSorting.
QDir::refresh, on the other hand, would invalidate the lists without
first detaching, thus breaking the copy-on-write promise.
Summarizing, shared data must be detached and cached lists invalidated,
so they get regenerated.
Reviewed-by: Olivier Goffart
Reviewed-by: Ritt Konstantin
Diffstat (limited to 'tools/qdoc3')
0 files changed, 0 insertions, 0 deletions