Skip to content
Commit d2869f70 authored by David Faure's avatar David Faure
Browse files

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
BUG: 175035
(cherry picked from commit 4530a699)
parent 336abf50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment