@@ -1,5 +1,5 @@
2− * Copyright (C) 2013 Canonical, Ltd.
2+ * Copyright (C) 2013,2014,2015 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
5 * it under the terms of the GNU General Public License as published by
@@ -110,6 +110,8 @@ Item {
110 // this page, and either skip it or continue.
110 // this page, and either skip it or continue.
111 push(path, {"opacity": 0, "enabled": false})
111 push(path, {"opacity": 0, "enabled": false})
113 // Check for immediate skip or not. We may have to wait for
115 // Check for immediate skip or not. We may have to wait for
114 // skipValid to be assigned (see Connections object below)
116 // skipValid to be assigned (see Connections object below)
115 checkSkip()
117 checkSkip()
@@ -124,10 +126,21 @@ Item {
125 currentPage.opacity = 1
127 currentPage.opacity = 1
126 currentPage.enabled = true
128 currentPage.enabled = true
136+ objectName: "timeout"
137+ interval: 2000 // wizard pages shouldn't take long
139+ pageStack.currentPage.skip = true;
140+ pageStack.currentPage.skipValid = true;
131 Connections {
144 Connections {
132 target: pageStack.currentPage
145 target: pageStack.currentPage
133 onSkipValidChanged: pageStack.checkSkip()
146 onSkipValidChanged: pageStack.checkSkip()