Index: sources/model/MAbstract.cpp =================================================================== diff -u -r97d593e2e7adb36f2f9f97f9bb9958dcef740bc1 -r73d6d02c19467735e92f7c451ca5d3b47a2a90e4 --- sources/model/MAbstract.cpp (.../MAbstract.cpp) (revision 97d593e2e7adb36f2f9f97f9bb9958dcef740bc1) +++ sources/model/MAbstract.cpp (.../MAbstract.cpp) (revision 73d6d02c19467735e92f7c451ca5d3b47a2a90e4) @@ -19,7 +19,7 @@ using namespace Model; -// #define ROUND_FLOATS +#define ROUND_FLOATS const QMap MAbstract::_typeText = MAbstract::_typeText_make(); const QMap MAbstract::_unitText = MAbstract::_unitText_make(); @@ -43,7 +43,7 @@ QVariantList mParameters = parameters(); QString mString = description(); for( const auto ¶meter : mParameters ) { - if (parameter.type() == uint(QMetaType::Float)) // Qt has a mixed definition of QVariant::Type and QMetaType seems like a not fixed issue. + if (static_cast(parameter.type()) == QMetaType::Float) // Qt has a mixed definition of QVariant::Type and QMetaType seems like a not fixed issue. #ifdef ROUND_FLOATS mString += _delimiter + QString("%1").arg(parameter.toFloat(),0,'f',_precision); #else