[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] another patch for the kio_devices problem
From:       Stephan Kulow <coolo () kde ! org>
Date:       2002-10-29 12:01:55
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic