[skip ci] use QLocale class consistently to make it possible to change it application-wide

This commit is contained in:
wmayer
2020-03-26 16:37:45 +01:00
parent 399f69f204
commit e14e5b845e
16 changed files with 97 additions and 91 deletions

View File

@@ -468,9 +468,9 @@ void TaskProjGroup::setUiPrimary()
QString TaskProjGroup::formatVector(Base::Vector3d v)
{
QString data = QString::fromLatin1("[%1 %2 %3]")
.arg(QLocale::system().toString(v.x, 'f', 2))
.arg(QLocale::system().toString(v.y, 'f', 2))
.arg(QLocale::system().toString(v.z, 'f', 2));
.arg(QLocale().toString(v.x, 'f', 2))
.arg(QLocale().toString(v.y, 'f', 2))
.arg(QLocale().toString(v.z, 'f', 2));
return data;
}