std::abs() => abs in espoSpinbox

This commit is contained in:
Chris Esposito 2018-11-07 20:22:02 +11:00 committed by GitHub
parent b0f5e98bff
commit f2c7427f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ QString espoSpinBox::textFromValue(double value) const{
double approximatelyZero = pow(10, -1 * (decimals() + 1));
if (std::abs(value) <= approximatelyZero){
if (abs(value) <= approximatelyZero){
QTextStream(&windowText) << 0;
lastValidValue = 0;
return windowText;