Bugfixing and small enhancements for weather display
ClosedPublic

Authored by wreissenberger on Oct 16 2019, 4:09 PM.

Details

Summary
  • Fix compile problem for older QT versions on QDateTime back to toTime_t
  • Alert and warning timer is only started when at least one action is selected
  • Add time to mouseover of the sensor graph
  • Changed graph to solid line instead of scattered

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
wreissenberger created this revision.Oct 16 2019, 4:09 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptOct 16 2019, 4:09 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
wreissenberger requested review of this revision.Oct 16 2019, 4:09 PM
wreissenberger edited the summary of this revision. (Show Details)Oct 16 2019, 4:09 PM

For some reason all the weather buttons are gone now

oh wait, they're there now... is there a delay until the first update?

At least I didn‘t change anything there. It depends on the frequency how often the INDI driver updates its data.

But shouldn't the buttons display right away with the initial values?

using openweathermap driver.

The reason is that openweathermap has an update period of 60 secs. And other than the WeatherSimulator does not initially update the sensor values but waits for the update period until the values are read for the first time.

mutlaqja accepted this revision.Oct 18 2019, 5:03 AM
This revision is now accepted and ready to land.Oct 18 2019, 5:03 AM
This revision was automatically updated to reflect the committed changes.