Fix toFloat Qt5 regression (#4244)

Closes #4241
This commit is contained in:
Tres Finocchiaro
2018-03-19 12:18:47 -04:00
committed by GitHub
parent 6cd5317e09
commit 7a8a925b83

View File

@@ -505,7 +505,7 @@ float QtXmlWrapper::getparreal(const char *name, float defaultpar) const
return defaultpar;
}
return tmp.attribute( "value" ).toFloat();
return QLocale().toFloat( tmp.attribute( "value" ) );
}
float QtXmlWrapper::getparreal(const char *name,