aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/studiowelcome/qml
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2021-04-07 17:57:05 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2021-04-07 20:03:00 +0000
commit68d6f6c21c0adc691111096c533f869d41ff452c (patch)
tree64b0e83e8be81d876582c4c0d24b3b9db47e738a /src/plugins/studiowelcome/qml
parent7d03ffdc93fcc4d5133230c04bab72ef5e974422 (diff)
StudioWelcome: Use the QSetting to disable UsageStatistics
Instead of enabling/disabling the plugin we use the existing setting. Task-number: QDS-4128 Change-Id: Ibddf39b53aeac3741396c0329879ed1b29f8bf57 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome/qml')
-rw-r--r--src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml
index 240788a37a..416693f5b8 100644
--- a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml
+++ b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml
@@ -305,6 +305,6 @@ Image {
scale: 0.5
checked: usageStatisticModel.usageStatisticEnabled
- onCheckedChanged: usageStatisticModel.setPluginEnabled(usageStatisticCheckBox.checked)
+ onCheckedChanged: usageStatisticModel.setTelemetryEnabled(usageStatisticCheckBox.checked)
}
}