Re: QUrl behavior and KIO

2013-09-05 Thread Marco Martin
On Thursday 05 September 2013, David Faure wrote: > > See, you even knew that ;) > > > what should be done? modify kio to make qurls without scheme work (and > > assume they are file://) or modify all the users to make sure a scheme is > > always passed? > > Correct porting to QUrl is the only t

Re: QUrl behavior and KIO

2013-09-05 Thread David Faure
On Wednesday 04 September 2013 18:39:57 Marco Martin wrote: > Hi all, > porting a couple of kio slaves (trying to make sense of the trash kio partly > ported to kf5 in a gsoc) i noticed what appears to be a slight behavior > change compared to when it used KUrl > > something like this in kde4 was

QUrl behavior and KIO

2013-09-04 Thread Marco Martin
Hi all, porting a couple of kio slaves (trying to make sense of the trash kio partly ported to kf5 in a gsoc) i noticed what appears to be a slight behavior change compared to when it used KUrl something like this in kde4 was working: KUrl u; u.setPath( "/some/valid/path" ); KIO::Job* job = KIO: