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

Dawit Alemayehu adawit at
Mon Jul 11 17:12:54 BST 2011

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

(Updated July 11, 2011, 4:12 p.m.)

Review request for kdelibs and David Faure.


Added a reminder for removing workaround once the issue is addressed upstream in Qt.


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