Review Request: Changed KUrl::toLocalFile to use QUrl::path() instead QUrl::toLocalFile() on non-Windows platforms

Dawit Alemayehu adawit at
Sun Jul 10 16:34:06 BST 2011

This is an automatically generated e-mail. To reply, visit:

(Updated July 10, 2011, 3:34 p.m.)

Review request for kdelibs and David Faure.


Updated patch so that the previous behavior is not affected for non-local URLs.


The attached patch changes KUrl::toLocalFile to use QUrl::path() when extracting the path from the current URL on non-Windows platforms so that KUrl would return the correct path when KUrl::toLocalFile is called on an absolute path url whose top level contains a ':', e.g. "file:///A:/".

This addresses bug 194746.

Diffs (updated)

  kdecore/io/kurl.cpp acfc9a1 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list