Commit ec2532c5 authored by Arjen Hiemstra's avatar Arjen Hiemstra

Set default visibility for per-process network sensors to true

Summary:
Since it is a nice feature that provides useful information and  should
not be hidden.

Depends on D24053

Test Plan:
Start ksysguard ensuring a clean config, observe that the Download and Upload
columns are visible.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24054
parent 4fb371b1
......@@ -51,9 +51,11 @@ NetworkPlugin::NetworkPlugin(QObject *parent, const QVariantList &args)
m_inboundSensor = new ProcessAttribute(QStringLiteral("netInbound"), i18n("Download Speed"), this);
m_inboundSensor->setShortName(i18n("Download"));
m_inboundSensor->setUnit(KSysGuard::UnitByteRate);
m_inboundSensor->setVisibleByDefault(true);
m_outboundSensor = new ProcessAttribute(QStringLiteral("netOutbound"), i18n("Upload Speed"), this);
m_outboundSensor->setShortName(i18n("Upload"));
m_outboundSensor->setUnit(KSysGuard::UnitByteRate);
m_outboundSensor->setVisibleByDefault(true);
addProcessAttribute(m_inboundSensor);
addProcessAttribute(m_outboundSensor);
......
Markdown is supported
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