From 6dfb129f102a469468612cc3fd55e58d0824f127 Mon Sep 17 00:00:00 2001 From: Elias Date: Thu, 5 Dec 2019 12:44:24 +0100 Subject: [PATCH] Add disabling of anonymous telemetry via settings --- ScreenPlay/qml/Settings/Settings.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ScreenPlay/qml/Settings/Settings.qml b/ScreenPlay/qml/Settings/Settings.qml index 32f70129..c95f4011 100644 --- a/ScreenPlay/qml/Settings/Settings.qml +++ b/ScreenPlay/qml/Settings/Settings.qml @@ -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 {}