[PATCH] KIO::SimpleJob never kills its subjobs
David Faure
faure at kde.org
Mon Nov 12 00:10:15 CET 2007
On Saturday 10 November 2007, Pascal Létourneau wrote:
> Hi
>
> See subject
>
> Pascal Létourneau
>
> Index: kio/kio/job.cpp
> ===================================================================
> --- kio/kio/job.cpp (revision 734777)
> +++ kio/kio/job.cpp (working copy)
> @@ -341,7 +341,7 @@ bool SimpleJob::doKill()
> Q_D(SimpleJob);
> Scheduler::cancelJob( this ); // deletes the slave if not 0
> d->m_slave = 0; // -> set to 0
> - return true;
> + return Job::doKill();
> }
WOW, good find.
This might explain the long-standing warning[+kdbacktrace] that listRecursive often showed....
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kdelibs-bugs
mailing list