@@ -21,17 +21,14 @@ import Wizard 0.1
2121import "../Components"
2222
2323Item {
24+ id: root
25+ focus: true
26+
2427 // The background wallpaper to use
2528 property string background
2629
2730 signal quit()
2831
29− ////
30−
31− id: root
32− focus: true
33− anchors.fill: parent
34−
3532 // These should be set by a security page and we apply the settings when
3633 // the user exits the wizard.
3734 property int passwordMethod: UbuntuSecurityPrivacyPanel.Passcode
@@ -106,10 +103,10 @@ Item {
106103
107104 // Check for immediate skip or not. We may have to wait for
108105 // skipValid to be assigned (see Connections object below)
109− _checkSkip()
106+ checkSkip()
110107 }
111108
112− function _checkSkip() {
109+ function checkSkip() {
113110 if (!currentPage) { // may have had a parse error
114111 next()
115112 } else if (currentPage.skipValid) {
@@ -124,7 +121,7 @@ Item {
124121
125122 Connections {
126123 target: pageStack.currentPage
127− onSkipValidChanged: pageStack._checkSkip()
124+ onSkipValidChanged: pageStack.checkSkip()
128125 }
129126
130127 Component.onCompleted: next()