X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=psa_harmattan%2Ffeedingit%2Fqml%2Fmain.qml;h=866b44ec51691ecacc5bb7aa0850c71fcae00096;hb=302b36573fa0f84c2af0461e6c93abefa0b63d4e;hp=973bbdb763979d697c16fa1192165a35fa3a7ab9;hpb=cf8d6d3e3e5671a06954a3a5a580972a5b1d1072;p=feedingit diff --git a/psa_harmattan/feedingit/qml/main.qml b/psa_harmattan/feedingit/qml/main.qml index 973bbdb..866b44e 100644 --- a/psa_harmattan/feedingit/qml/main.qml +++ b/psa_harmattan/feedingit/qml/main.qml @@ -313,4 +313,19 @@ PageStackWindow { //text: "This is an info banner with no icon" } + + AutomaticUpdate { + id: autoUpdate + + Connections { + target: settings + onAutoUpdateEnabledChanged: { + if (!settings.autoUpdateEnabled) { + stop(); + } else { + start(); + } + } + } + } }