mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
Add disabling of anonymous telemetry via settings
This commit is contained in:
parent
e0b1a6c529
commit
6dfb129f10
@ -20,8 +20,6 @@ Item {
|
|||||||
contentHeight: columnWrapper.childrenRect.height
|
contentHeight: columnWrapper.childrenRect.height
|
||||||
contentWidth: 800
|
contentWidth: 800
|
||||||
flickableDirection: Flickable.VerticalFlick
|
flickableDirection: Flickable.VerticalFlick
|
||||||
maximumFlickVelocity: 5000
|
|
||||||
flickDeceleration: 5000
|
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
@ -112,14 +110,13 @@ Item {
|
|||||||
SettingsHorizontalSeperator {}
|
SettingsHorizontalSeperator {}
|
||||||
SettingBool {
|
SettingBool {
|
||||||
height: 70
|
height: 70
|
||||||
available: false
|
|
||||||
headline: qsTr("Send anonymous crash reports and statistics")
|
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!")
|
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: {
|
onCheckboxChanged: {
|
||||||
ScreenPlay.settings.setSendStatistics(checked)
|
ScreenPlay.settings.setAnonymousTelemetry(checked)
|
||||||
ScreenPlay.settings.writeSingleSettingConfig(
|
ScreenPlay.settings.writeSingleSettingConfig(
|
||||||
"sendStatistics", checked)
|
"anonymousTelemetry", checked)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SettingsHorizontalSeperator {}
|
SettingsHorizontalSeperator {}
|
||||||
|
Loading…
Reference in New Issue
Block a user