KUrl(QString) fix

Leonardo Stern leonardo.stern at gmail.com
Wed Dec 20 19:00:23 CET 2006


> May be a workaround on windows could be to call QUrl::toLocalFile()
> instead of QUrl::path() in KUrl::path()
>
> Unfortunally KUrl::path() is an inline function. :-(

But isn't this the same situation of the current solution (setPath
ignores the leading "/" when QString begins with "file:///") ?

Maybe TT can modify QFile to ignore the leading "/" when succedeed by
"[A-Za-z]:" as previously suggested in this list.

regards,
Leonardo Stern



More information about the Kde-windows mailing list