on xenial help sign in
offload the diagnostics too, sometimes it takes too long to load
commitace333bc529a80ef42af183a0b78298599fdd916 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 18 Feb 2016, 15:05 (11 years ago) parent75aefd8
2 files changed+6−8
qml/Wizard/Pages.qml+6 qml/Wizard/Pages/75-report-check.qml−8
qml/Wizard/Pages.qml+6
@@ -18,6 +18,7 @@ import QtQuick 2.4
1818import MeeGo.QOfono 0.2
1919import Ubuntu.Components 1.3
2020import Ubuntu.SystemSettings.SecurityPrivacy 1.0
21+import Ubuntu.SystemSettings.Diagnostics 1.0
2122import Wizard 0.1
2223import "../Components"
2324
@@ -55,6 +56,11 @@ Item {
5556 objectName: "securityPrivacy"
5657 }
5758
59+ UbuntuDiagnostics {
60+ id: diagnostics
61+ objectName: "diagnostics"
62+ }
63+
5864 OfonoManager { // need it here for the language and country detection
5965 id: modemManager
6066 readonly property bool gotSimCard: available && ((simManager0.ready && simManager0.present) || (simManager1.ready && simManager1.present))
qml/Wizard/Pages/75-report-check.qml−8
@@ -17,7 +17,6 @@
1717import QtQuick 2.4
1818import Ubuntu.Components 1.3
1919import Ubuntu.Web 0.2
20−import Ubuntu.SystemSettings.Diagnostics 1.0
2120import ".." as LocalComponents
2221
2322LocalComponents.Page {
@@ -29,7 +28,6 @@ LocalComponents.Page {
2928 customBack: true
3029 customTitle: webview.visible
3130
32− skipValid: false
3331 skip: !diagnostics.reportCrashes // skip the page when the system is configured not to report crashes
3432
3533 onBackClicked: {
@@ -40,12 +38,6 @@ LocalComponents.Page {
4038 }
4139 }
4240
43− UbuntuDiagnostics {
44− id: diagnostics
45− objectName: "diagnostics"
46− Component.onCompleted: reportingPage.skipValid = true;
47− }
48−
4941 Column {
5042 id: column
5143 anchors {