summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dashboard/dash')
-rw-r--r--modules/dashboard/dash/User.qml3
1 files changed, 2 insertions, 1 deletions
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()
}
}
}