Skip to content

Commit

Permalink
Fix toFloat Qt5 regression (LMMS#4244)
Browse files Browse the repository at this point in the history
Closes LMMS#4241
  • Loading branch information
tresf authored Mar 19, 2018
1 parent 8105550 commit d2c0181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/zynaddsubfx/zynaddsubfx/src/Misc/QtXmlWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d2c0181

Please sign in to comment.