Commit 4d3aa8de authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham
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
......@@ -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("upload"));
m_totalUploadSensor->setMatchSensors(QRegularExpression{"^(?!all).*$"}, QStringLiteral("totalUpload"));
}
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