The application I am working on will be launched in many countries and needs to support their language. I've been going back through my code and replacing every instance of:
QString::number()
and QString().toDouble()
with
QLocale().toString()
and QLocale().toDouble()
I haven't found much online comparing the two classes, but I am interested in the repercussions of using the latter, and if there are none - why ever use the QString
functions?
Essentially I just want to make sure I'm not harming my code before i make all these changes. Does anyone have any knowledge?