refactor: fix some minor clang-tidy warnings

This commit is contained in:
2024-04-19 17:59:10 +03:00
parent 2f4f05b5af
commit ed5ae40624
56 changed files with 225 additions and 265 deletions

View File

@ -155,7 +155,7 @@ void GraphicalItemHelper::paintVertical(const float _percent)
}
float GraphicalItemHelper::getPercents(const float _value, const float _min, const float _max)
double GraphicalItemHelper::getPercents(const double _value, const double _min, const double _max)
{
qCDebug(LOG_LIB) << "Get percent value from" << _value;
// newest Qt crashes here if value is nan