release 3.1.1

* translation update
* fix broken build with gcc (#87). The issue was reproduced only with
  gcc build and has been resolved by just replacing C-like `isnan` to
  `std::isnan`
This commit is contained in:
2016-04-06 14:42:56 +03:00
parent d216ee1f79
commit e9146b3b6c
16 changed files with 287 additions and 74 deletions

View File

@ -164,7 +164,7 @@ float GraphicalItemHelper::getPercents(const float &value, const float &min,
{
qCDebug(LOG_LIB) << "Get percent value from" << value;
// newest Qt crashes here if value is nan
if (isnan(value))
if (std::isnan(value))
return 0.0;
return (value - min) / (max - min);