diff --git a/src/blackmisc/weather/temperaturelayer.cpp b/src/blackmisc/weather/temperaturelayer.cpp index 65ff26fdc..710459dfe 100644 --- a/src/blackmisc/weather/temperaturelayer.cpp +++ b/src/blackmisc/weather/temperaturelayer.cpp @@ -36,6 +36,8 @@ namespace BlackMisc return CVariant::fromValue(m_level); case IndexTemperature: return CVariant::fromValue(m_temperature); + case IndexDewPoint: + return CVariant::fromValue(m_dewPoint); case IndexRelativeHumidity: return CVariant::fromValue(m_relativeHumidity); default: @@ -55,6 +57,9 @@ namespace BlackMisc case IndexTemperature: setTemperature(variant.value()); break; + case IndexDewPoint: + setDewPoint(variant.value()); + break; case IndexRelativeHumidity: setRelativeHumidity(variant.value()); break; diff --git a/src/blackmisc/weather/temperaturelayer.h b/src/blackmisc/weather/temperaturelayer.h index c03b9e67b..413c99c57 100644 --- a/src/blackmisc/weather/temperaturelayer.h +++ b/src/blackmisc/weather/temperaturelayer.h @@ -40,6 +40,7 @@ namespace BlackMisc IndexTemperatureLayer = BlackMisc::CPropertyIndex::GlobalIndexCTemperatureLayer, IndexLevel, IndexTemperature, + IndexDewPoint, IndexRelativeHumidity };