From 6885dc4ae99168c14ac31299dd1c0caa7eafb05e Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Wed, 9 Oct 2024 19:34:58 -0700 Subject: [PATCH] statusbar: Fix clock not updating immediately when timezones are changed We should be polling by the second in order to always be up-to-date of any system time changes. Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/403 --- components/mobileshell/qml/statusbar/StatusBar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobileshell/qml/statusbar/StatusBar.qml b/components/mobileshell/qml/statusbar/StatusBar.qml index ea17c0e8..f3fe6159 100644 --- a/components/mobileshell/qml/statusbar/StatusBar.qml +++ b/components/mobileshell/qml/statusbar/StatusBar.qml @@ -59,7 +59,7 @@ Item { id: timeSource engine: "time" connectedSources: ["Local"] - interval: 60 * 1000 + interval: 1000 intervalAlignment: P5Support.Types.AlignToMinute }