Qt 4.8 QUrl.toLocalFile behavior change, impacts to KUrl (and friends)
Thiago Macieira
thiago at kde.org
Sat Oct 29 00:05:18 BST 2011
On Friday, 28 de October de 2011 17:43:32 Kevin Kofler wrote:
> Thiago Macieira wrote:
> > Which is quite wrong already. From Qt 4.8 on, this returns empty in all
> > cases, showing that you parsed the URL wrongly. It should be easier to
> > spot where you made the mistake because you don't have to use
> > specially-crafted filenames.
>
> Such a change might make sense for 5.0, but not for 4.8!
>
> Or if you really want to add the changed API to 4.x, you have to do it with
> a new name, deprecating (but not removing!) toLocalFile.
Let's just say I disagree.
This change was for 4.7, but it was reverted and added to 4.8, giving you well
over ONE YEAR to adapt.
--
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/20111029/75e8956c/attachment.sig>
More information about the kde-core-devel
mailing list