[vlc-devel] [vlc-commits] Qt: toAscii has been deprecated
Jean-Baptiste Kempf
jb at videolan.org
Wed Aug 28 14:08:51 CEST 2013
On 28 Aug, Rémi Denis-Courmont wrote :
> > - playlist_Add( THEPL, uri.toAscii().constData(),
> > + playlist_Add( THEPL, uri.toLatin1().constData(),
>
> Minding that Latin-1 is a superset of ASCII, this is functionally correct.
> But I think toUtf8() would be far less prone to misinterpretation by
> someone reading the code later.
Which would be qtu(). No idea why the code doesn't do that...
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list