diff --git a/soft/thermostat/src/zoneitem.cpp b/soft/thermostat/src/zoneitem.cpp index 8e4e9f9..3bc9cb5 100644 --- a/soft/thermostat/src/zoneitem.cpp +++ b/soft/thermostat/src/zoneitem.cpp @@ -47,15 +47,10 @@ void ZoneItem::refresh(void) { QString text; - if ((m_temperature_value == FORCE_OFF) || !m_available) { + if ((m_temperature_value == FORCE_OFF) || !m_available) text += QString("-"); - } else { - if (m_heating_on) - text.append(QString("")); + else text += QString::number(m_temperature_value); - if (m_heating_on) - text.append(QString("")); - } text += QString("°C / "); if (m_target_temperature == FORCE_OFF) {