From d90456d469c417584e085c75a9930a2d4813b2a8 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 21 Sep 2022 17:12:33 +0200 Subject: [PATCH] qmldesigner: remove old splashscreen ui code It has visible: false so it is not in use, but it produced some warnings. Change-Id: I2fc9c5d1c06b14d0e9104f9e1507baeabdc5f4bc Reviewed-by: Brook Cronin Reviewed-by: Tim Jenssen --- .../qml/splashscreen/Welcome_splash.qml | 50 ------------------- 1 file changed, 50 deletions(-) diff --git a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml index 73c4eded2bc..d0d0dcfe922 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml @@ -254,56 +254,6 @@ Rectangle { "https://www.qt.io/terms-conditions/telemetry-privacy") } - Row { - y: 690 - visible: false - anchors.horizontalCenter: parent.horizontalCenter - spacing: 20 - layoutDirection: Qt.LeftToRight - - CheckBox { - visible: true - id: usageStatisticCheckBox - text: qsTr("Send Usage Statistics") - checked: usageStatisticModel.usageStatisticEnabled - padding: 0 - spacing: 12 - - onCheckedChanged: usageStatisticModel.setTelemetryEnabled( - usageStatisticCheckBox.checked) - - contentItem: Text { - text: usageStatisticCheckBox.text - color: "#ffffff" - leftPadding: usageStatisticCheckBox.indicator.width + usageStatisticCheckBox.spacing - font.pixelSize: 12 - } - } - - CheckBox { - visible: true - id: crashReportCheckBox - text: qsTr("Send Crash Reports") - spacing: 12 - checked: usageStatisticModel.crashReporterEnabled - - onCheckedChanged: { - usageStatisticModel.setCrashReporterEnabled( - crashReportCheckBox.checked) - welcome_splash.onPluginInitialized(true, - crashReportCheckBox.checked) - } - - contentItem: Text { - color: "#ffffff" - text: crashReportCheckBox.text - leftPadding: crashReportCheckBox.indicator.width + crashReportCheckBox.spacing - font.pixelSize: 12 - } - padding: 0 - } - } - Row { id: designStudioVersion anchors.top: logo.bottom