Revision 799e3c6...

Go back to digest for 13th February 2011

Bug Fixes in KDE Base

David Faure committed changes in [kdelibs] /:

Fixed assert when the user stops the running list job.

Testcase: `dolphin /`, Ctrl+F, *.h, press stop button in status bar.
The code said "leave the job running, other views might be interested,
and the job is just like any other update job", but this use case shows
that this isn't wanted (and there are no update jobs for kio_filenamesearch).

Implementation details: jobs are now killed using kill() in order to
trigger the real implementation of slotResult/slotUpdateResult; added
a doKill for implementing it in CachedItemsJob. Less duplication overall.

Added unittest about deleting a KDirLister before it has time to emit items,
as found during dolphin startup.

File Changes

Modified 4 files
  •   kio/kio/kdirlister.cpp
  •   kio/kio/kdirlister_p.h
  •   kio/tests/kdirlistertest.cpp
  •   kio/tests/kdirlistertest.h
4 files changed in total