On 21 janv. 2014, at 00:43, Thiago Macieira <[email protected]> wrote:
> On segunda-feira, 20 de janeiro de 2014 23:58:21, Samuel Gaist wrote: >> On 20 janv. 2014, at 23:44, Thiago Macieira <[email protected]> > wrote: >>> On segunda-feira, 20 de janeiro de 2014 22:59:09, Samuel Gaist wrote: >>>> Yes it does, with that, QLocale supports the various possible negative >>>> signs> >>> Can you verify if the change also affects QString::toInt, toDouble, etc.? >>> >>> 5.1.1 doesn't support U+2212. >> >> Sure, I'll do it tomorrow >> >> IIRC, the patch went in for 5.2 > > Right, this is the 5.2.1 change log. As promised: QString str("\u2212\x31\x36"); qDebug() << str.toShort() << str.toInt() << str.toDouble() << str.toLong() << str.toLongLong() << str.toFloat(); all returns -16 _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
