forked from qt-creator/qt-creator
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 <brook.cronin@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user