qt6-bb10/src/xml
Christian Ehrlicher d7cb21ac08 QDom: use QLocale::C when converting a double to a xml attribute
QDomElement::setAttribute(QString, double) did not use QString::setNum()
but qsnprintf(). This is wrong because qsnprintf() is using the current
locale instead QLocale::C. It was also inconsistent to
QDomElement::setAttributeNS() which was already using QString::setNum().

Also fix the documentation which stated that all
QDomElement::setAttribute() format the values according the current
locale.

Fixes: QTBUG-80068
Change-Id: Iabb0b39c0d0723060527542c283a5435f26f31ca
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-11-19 17:33:33 +01:00
..
doc Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
dom QDom: use QLocale::C when converting a double to a xml attribute 2019-11-19 17:33:33 +01:00
sax Be less laissez-faire with implicit conversions to QChar 2019-07-09 07:09:44 +02:00
configure.json Convert the old feature system 2016-09-15 08:24:10 +00:00
qtxmlglobal.h Qt XML: Fix module in comment 2019-11-04 09:00:38 +01:00
xml.pro MSVC: Don't set a DLL base address for 64-bit 2018-01-24 21:20:47 +00:00