Review Request: Copy location in dolphin should return regular path and not file://

Shane Gibbs shane at hands.net.nz
Sat Aug 1 23:57:13 BST 2009



> On 2009-08-01 15:03:47, Peter Penz wrote:
> > Thank you for the patch! Please commit version #2 (if you don't have a SVN account, please let me know and I'll commit it for you).

Thanks Peter. I don't have an SVN account so if you could do that for me that would be great.


- Shane


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1192/#review1877
-----------------------------------------------------------


On 2009-08-01 14:05:31, Shane Gibbs wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1192/
> -----------------------------------------------------------
> 
> (Updated 2009-08-01 14:05:31)
> 
> 
> Review request for Dolphin and kdelibs.
> 
> 
> Summary
> -------
> 
> Hi all, this is my first attempt at a bug. I'm still getting my head around the KDE libraries so any feedback would be great. This is based on https://bugs.kde.org/show_bug.cgi?id=170608 which is for dolphin however the patch is for kfile in kdelibs.
> 
> The patch alters KUrlButton so that when you copy a local file:// url it gives you the absolute path.
> 
> E.g. Copies:
>     /home/kde-devel/kde
> instead of
>     file:///home/kde-devel
> 
> This makes the path usable outside KDE apps.
> 
> I am assuming that if you have a KUrl with the protocol set to "file", then url() will always return the path QString starting with file://
> 
> Thanks
> Shane
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdelibs/kfile/kurlbutton.cpp 1005432 
> 
> Diff: http://reviewboard.kde.org/r/1192/diff
> 
> 
> Testing
> -------
> 
> Copied local urls and some sftp remote urls to confirm expected behavior.
> 
> 
> Thanks,
> 
> Shane
> 
>





More information about the kde-core-devel mailing list