|
@ -47,7 +47,7 @@ void ZoneItem::refresh(void) |
|
|
{ |
|
|
{ |
|
|
QString text; |
|
|
QString text; |
|
|
|
|
|
|
|
|
if (m_temperature_value == FORCE_OFF) |
|
|
|
|
|
|
|
|
if ((m_temperature_value == FORCE_OFF) || !m_available) |
|
|
text += QString("-"); |
|
|
text += QString("-"); |
|
|
else |
|
|
else |
|
|
text += QString::number(m_temperature_value); |
|
|
text += QString::number(m_temperature_value); |
|
@ -64,7 +64,7 @@ void ZoneItem::refresh(void) |
|
|
|
|
|
|
|
|
m_temperatureBtn.setText(text); |
|
|
m_temperatureBtn.setText(text); |
|
|
|
|
|
|
|
|
if (m_hygro_value == FORCE_OFF) |
|
|
|
|
|
|
|
|
if ((m_hygro_value == FORCE_OFF) || !m_available) |
|
|
text = QString("-"); |
|
|
text = QString("-"); |
|
|
else |
|
|
else |
|
|
text = QString::number(m_hygro_value); |
|
|
text = QString::number(m_hygro_value); |
|
|