Revision 4530a69...
Go back to digest for 20th February 2011Bug Fixes in KDE Base
David Faure committed changes in [kdelibs] /:
Fix ASSERT: "lister->d->m_cachedItemsJob == 0" when using KDirModel::expandTo(/a/b/c) and
/a and /a/b are in cache already; when the CachedItemsJob for /a emits its items,
KDirModel sees b and asks for listing /a/b, which creates another CachedItemsJob for /a/b.
So it's perfectly possible to have more than one cached items job in a dirlister, just
not for the same directory -> turned the job member into a list of jobs. With unittest.
FIXED-IN: 4.6.1
File Changes
Modified 3 files
- kio/kio/kdirlister.cpp
- kio/kio/kdirlister_p.h
- kio/tests/kdirmodeltest.cpp
3 files changed in total