D12164: Add overloads to Value/Unit::toString/toSymbolString taking a QLocale

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Fri Apr 13 12:11:49 UTC 2018


kossebau added a comment.


  As discussed on irc with @broulik will give that other patch https://git.reviewboard.kde.org/r/127800/ some look again, as I would agree numbers rather should be localized there.
  
  Had considered something like that before as well, but then discarded due to not sure if changing behaviour at age of kf 5.46 is good and also as https://doc.qt.io/qt-5/qstring.html#arg-8 hinted that without QLocale::setDefault() being called, which the average app seems not to do, still C locale would be used. Which might not be the complete truth in the docs, will give some testing tonight.

REPOSITORY
  R292 KUnitConversion

REVISION DETAIL
  https://phabricator.kde.org/D12164

To: kossebau, ilic
Cc: broulik, #frameworks, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180413/63d0befe/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list