1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-03 09:09:48 +02:00

Add disabling of anonymous telemetry via settings

This commit is contained in:
Elias 2019-12-05 12:44:24 +01:00
parent e0b1a6c529
commit 6dfb129f10

View File

@ -20,8 +20,6 @@ Item {
contentHeight: columnWrapper.childrenRect.height
contentWidth: 800
flickableDirection: Flickable.VerticalFlick
maximumFlickVelocity: 5000
flickDeceleration: 5000
anchors {
top: parent.top
@ -112,14 +110,13 @@ Item {
SettingsHorizontalSeperator {}
SettingBool {
height: 70
available: false
headline: qsTr("Send anonymous crash reports and statistics")
description: qsTr("Help us make ScreenPlay faster and more stable. All collected data is purely anonymous and only used for development purposes!")
isChecked: ScreenPlay.settings.sendStatistics
isChecked: ScreenPlay.settings.anonymousTelemetry
onCheckboxChanged: {
ScreenPlay.settings.setSendStatistics(checked)
ScreenPlay.settings.setAnonymousTelemetry(checked)
ScreenPlay.settings.writeSingleSettingConfig(
"sendStatistics", checked)
"anonymousTelemetry", checked)
}
}
SettingsHorizontalSeperator {}