need to clear this list when we delete all in it

svn path=/trunk/KDE/kdelibs/; revision=938709
This commit is contained in:
Aaron J. Seigo 2009-03-12 18:54:57 +00:00
parent 592ddc4e6e
commit 50166207b9

View File

@ -405,6 +405,7 @@ void RunnerManager::reset()
if (Weaver::instance()->isIdle()) {
qDeleteAll(d->searchJobs);
qDeleteAll(d->oldSearchJobs);
d->oldSearchJobs.clear();
} else {
Weaver::instance()->dequeue();
d->oldSearchJobs += d->searchJobs;