From kde-core-devel Tue Oct 29 12:01:55 2002 From: Stephan Kulow Date: Tue, 29 Oct 2002 12:01:55 +0000 To: kde-core-devel Subject: Re: [PATCH] another patch for the kio_devices problem X-MARC-Message: https://marc.info/?l=kde-core-devel&m=103589304427606 Am Tuesday 29 October 2002 12:25 schrieb David Faure: > On Tuesday 29 October 2002 10:17, Stephan Kulow wrote: > > Hi! > > > > The patch I sent tonight hinders kdesktop to even try to delete > > devices:/ items, but still if an application tries > > KIO::del("devices:/cdrom") it will get deleted. > > > > The attached patch checks in CopyJob and DeleteJob if the protocol > > supports deleting and doesn't even stat then. > > Ah good. > But setting m_error and emitting result will terminate the job, not move to > the next URL (despite what your comment says ;) > > If you want to move on to the next src url, use this instead. > ++m_currentStatSrc; > statNextSrc(); > return; > > (yes the second line is a recursive call) Well, I want to give an error. I'm not sure how this is covered by KIO. Greetings, Stephan