diff --git a/service/src/battery.cpp b/service/src/battery.cpp index e6228e1..4ce1043 100644 --- a/service/src/battery.cpp +++ b/service/src/battery.cpp @@ -332,8 +332,8 @@ void Battery::updateData() if(temperatureFile && temperatureFile->open(QIODevice::ReadOnly)) { nextTemperature = temperatureFile->readLine().trimmed().toInt() / tempCorrectionFactor; if(nextTemperature != temperature) { - if((nextTemperature / 10 ) != (temperature / 10 )) { - logM(QString("Temperature: %1°C").arg(nextTemperature / 10 )); + if((nextTemperature / 10) != (temperature / 10)) { + logM(QString("Temperature: %1°C").arg(nextTemperature / 10)); } temperature = nextTemperature; }