@@ -21,18 +21,15 @@ import Wizard 0.1
2121import "../Components"
2222
2323Item {
24+ id: root
25+ objectName: "wizardPages"
26+ focus: true
27+
2428 // The background wallpaper to use
2529 property string background
2630
2731 signal quit()
2832
29− ////
30−
31− id: root
32− objectName: "wizardPages"
33− focus: true
34− anchors.fill: parent
35−
3633 // These should be set by a security page and we apply the settings when
3734 // the user exits the wizard.
3835 property int passwordMethod: UbuntuSecurityPrivacyPanel.Passcode
@@ -113,10 +110,10 @@ Item {
113110
114111 // Check for immediate skip or not. We may have to wait for
115112 // skipValid to be assigned (see Connections object below)
116− _checkSkip()
113+ checkSkip()
117114 }
118115
119− function _checkSkip() {
116+ function checkSkip() {
120117 if (!currentPage) { // may have had a parse error
121118 next()
122119 } else if (currentPage.skipValid) {
@@ -131,7 +128,7 @@ Item {
131128
132129 Connections {
133130 target: pageStack.currentPage
134− onSkipValidChanged: pageStack._checkSkip()
131+ onSkipValidChanged: pageStack.checkSkip()
135132 }
136133
137134 Component.onCompleted: next()