Qt 4.8 QUrl.toLocalFile behavior change, impacts to KUrl (and friends)

Thiago Macieira thiago at kde.org
Sun Oct 30 23:27:52 GMT 2011


On Sunday, 30 de October de 2011 22:34:48 Kevin Kofler wrote:
> You keep claiming this is not needed or useful, but how else would you 
> suggest handling the use case of a network-transparent file dialog (or file 

That's QUrl::fromUserInput, which makes no claim to what it considers. It's 
just a heuristic algorithm we are free to change at will. As its name implies, 
it should not be used for anything but user input. Sources of parsed URL 
should use the proper functions and provide consistent input, not guesses.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20111031/689c5dea/attachment.sig>


More information about the kde-core-devel mailing list