Commit 64d07214 authored by David Edmundson's avatar David Edmundson
Browse files

Avoid showing "Processes: 0" in applications sidebar whilst loading

Showing "Processes: 0" whilst loading as it implies false information.

We should never have a cgroup with no processes, so it's safe to use
that as a way to query if we're loading.

The use of space instead of "" is there to avoid getting a runtime
warning from i18n about a missing argument.

A better fix will come when the underlying model is shared, and
therefore we will have all information immediately.

BUG: 433326
parent c7b3e402
...@@ -172,7 +172,9 @@ Page { ...@@ -172,7 +172,9 @@ Page {
] ]
} }
Label { text: i18nc("@title:group", "Processes: %1", processTable.rows) } Label {
text: i18nc("@title:group", "Processes: %1", processTable.rows || " ")
}
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
......
Supports Markdown
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