Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KSysGuard
Commits
4d3aa8de
Commit
4d3aa8de
authored
Feb 09, 2021
by
David Redondo
🏎
Committed by
Nate Graham
Feb 09, 2021
Browse files
Fix copy paste error resulting in total upload displaying the upload rate
BUG:430676
FIXED-IN:5.21.0 (cherry picked from commit
09205b22
)
parent
fbefa252
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/global/network/AllDevicesObject.cpp
View file @
4d3aa8de
...
...
@@ -33,5 +33,5 @@ AllDevicesObject::AllDevicesObject(SensorContainer *parent)
m_totalUploadSensor
=
new
AggregateSensor
(
this
,
QStringLiteral
(
"totalUpload"
),
i18nc
(
"@title"
,
"Total Uploaded"
));
m_totalUploadSensor
->
setShortName
(
i18nc
(
"@title Short for Total Uploaded"
,
"Uploaded"
));
m_totalUploadSensor
->
setUnit
(
KSysGuard
::
UnitByte
);
m_totalUploadSensor
->
setMatchSensors
(
QRegularExpression
{
"^(?!all).*$"
},
QStringLiteral
(
"
u
pload"
));
m_totalUploadSensor
->
setMatchSensors
(
QRegularExpression
{
"^(?!all).*$"
},
QStringLiteral
(
"
totalU
pload"
));
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment