Skip to content

Convert daily temp chart and hourly display units properly

The daily temperature graph and the hourly info now displays the correct values when the temperature setting is not Celsius.

  • Add new function Kweather::convertTemp to convert double values in Celsius to the unit set in the configuration.

A better fix would probably be to move the conversion code into KWeatherCore, but that is a much more invasive change.

Merge request reports

Loading