Commit aa4bbbe2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

feedback kcm: Allow plasma to not send data

And make it the default.
Kill Switch is only for when you think something off is happening or you
don't feel in control.

Reviewed by David Edmundson (see D24635)
parent e8041bb4
......@@ -53,10 +53,10 @@ Feedback::~Feedback() = default;
void Feedback::load()
setFeedbackEnabled(m_globalConfig->group("UserFeedback").readEntry("Enabled", false));
//The global kill switch is off by default, all KDE components should default to KUserFeedback::Provider::NoTelemetry
KUserFeedback::Provider p;
// See 412913. global killswitch is off by default, therefore globally we're enabled by default :/
// default to Plama off by default until that situation is resolved to be double sure no user accidentally sends anything
setPlasmaFeedbackLevel(m_plasmaConfig->group("Global").readEntry("FeedbackLevel", int(KUserFeedback::Provider::NoTelemetry)));
......@@ -72,8 +72,8 @@ void Feedback::save()
void Feedback::defaults()
#include "feedback.moc"
......@@ -69,7 +69,8 @@ SimpleKCM {
enabled: kcm.feedbackEnabled
Layout.fillWidth: true
readonly property var modeOptions: [UserFeedback.Provider.BasicSystemInformation, UserFeedback.Provider.BasicUsageStatistics, UserFeedback.Provider.DetailedSystemInformation, UserFeedback.Provider.DetailedUsageStatistics]
readonly property var modeOptions: [UserFeedback.Provider.NoTelemetry, UserFeedback.Provider.BasicSystemInformation, UserFeedback.Provider.BasicUsageStatistics,
UserFeedback.Provider.DetailedSystemInformation, UserFeedback.Provider.DetailedUsageStatistics]
from: 0
to: modeOptions.length - 1
stepSize: 1
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