Commit 35e18420 authored by Shubham  .'s avatar Shubham .

[kcm_nightcolor] Set 2 decimal places precision for coordinates

Summary: BUG: 413954

Reviewers: ngraham, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28958
parent b3a8d4bf
......@@ -230,7 +230,7 @@ KCM.SimpleKCM {
visible: modeSwitcher.currentIndex === CC.CompositorAdaptor.ModeAutomatic
enabled: activator.checked
wrapMode: Text.Wrap
text: i18n("Latitude: %1 Longitude: %2", locator.latitude, locator.longitude)
text: i18n("Latitude: %1 Longitude: %2", Math.round(locator.latitude * 100)/100, Math.round(locator.longitude * 100)/100)
}
// Show time entry fields in manual timings mode
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment