@@ -17,6 +17,7 @@
17import QtQuick 2.3
17import QtQuick 2.3
18import Ubuntu.Components 1.2
18import Ubuntu.Components 1.2
19import Ubuntu.Web 0.2
19import Ubuntu.Web 0.2
20+import Ubuntu.SystemSettings.Diagnostics 1.0
20import ".." as LocalComponents
21import ".." as LocalComponents
22LocalComponents.Page {
23LocalComponents.Page {
@@ -36,6 +37,11 @@ LocalComponents.Page {
42+ objectName: "diagnostics"
40 id: column
46 id: column
@@ -75,7 +81,10 @@ LocalComponents.Page {
75 id: forwardButton
81 id: forwardButton
76 LocalComponents.StackButton {
82 LocalComponents.StackButton {
77 text: i18n.tr("Next")
83 text: i18n.tr("Next")
85+ diagnostics.setReportCrashes(reportCheck.checked);
78− onClicked: pageStack.next(); // TODO save that info somewhere
86+ pageStack.next();