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

Thiago Macieira thiago at kde.org
Fri Oct 28 14:18:56 BST 2011


On Friday, 28 de October de 2011 14:22:02 Albert Astals Cid wrote:
> Right, it was wrong if it had to accept user input but for internal
> hardcoded  paths, it worked and now it does not.

Right. If it is user input, we provide QUrl::fromuserInput, which implements 
some heuristics.

But the case being discussed here was that the data was already 
programmatically available, which meant that the heuristics should have been 
applied already.

-- 
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/20111028/10006fe9/attachment.sig>


More information about the kde-core-devel mailing list