summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-11-15 21:46:32 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2019-11-19 17:33:33 +0100
commitd7cb21ac085117f879a8aa1d7727b2ca52d3353d (patch)
treec03c3e62de3011d7743459078a7978206674190f /qmake
parentede867f581c0894e13d669f5364610df7ade0eb5 (diff)
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>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions