on xenial help sign in
Remove useless code
5679574Dalton Durst
qml/Wizard/Pages/78-app-update.qml−12
@@ -41,7 +41,6 @@ LocalComponents.Page {
41 property bool batchMode: false
41 property bool batchMode: false
42 property bool online: NetworkingStatus.online
42 property bool online: NetworkingStatus.online
43 property bool authenticated: UpdateManager.authenticated
43 property bool authenticated: UpdateManager.authenticated
44− property bool forceCheck: false
45
44
46 showOnVersions: [1]
45 showOnVersions: [1]
47
46
@@ -227,17 +226,6 @@ LocalComponents.Page {
227 }
226 }
228 }
227 }
229
228
230− Connections {
231− target: NetworkingStatus
232− onOnlineChanged: {
233− if (!online) {
234− UpdateManager.cancel();
235− } else {
236− UpdateManager.check(UpdateManager.CheckClickIgnoreVersion);
237− }
238− }
239− }
240−
241 Component.onCompleted: check()
229 Component.onCompleted: check()
242
230
243 Component {
231 Component {