From 691232756fc56164c47558d950f54cedb4fff10c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 15 Jun 2025 21:14:13 +1000 Subject: dashboard: fix uptime --- modules/dashboard/dash/User.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/dashboard/dash/User.qml') diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index f36c03d..bf989c6 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -36,6 +36,7 @@ Row { Column { id: info + anchors.verticalCenter: parent.verticalCenter spacing: Appearance.spacing.normal InfoLine { @@ -70,7 +71,7 @@ Row { running: true command: ["uptime", "-p"] stdout: StdioCollector { - onStreamFinished: uptimeProc.uptime = text + onStreamFinished: uptimeProc.uptime = text.trim() } } } -- cgit v1.2.3-freya