Skip to content

kcms/nightcolor: Limit saved precision of geolocated coordinates

Ismael Asensio requested to merge wip/nightcolor-auto-reset-button into master

Two decimal places in the saved lat/lon coordinates are enough to calculate the sunrise and sundown times, just as we do with the manual location mode.

Otherwise, everytime the KCM is open on the "Automatic geolocation" mode, there will be small differences between the saved and the newly geolocated coords, making the KCM activate the "Reset" button.

Specially noticeable with the fix on !3580 (merged)

Merge request reports