Review Request: Copy location in dolphin should return regular path and not file://
Shane Gibbs
shane at hands.net.nz
Sat Aug 1 00:38:50 BST 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1192/
-----------------------------------------------------------
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 1005147
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