projects
/
feedingit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
psa: added automatic updates
[feedingit]
/
psa_harmattan
/
feedingit
/
qml
/
main.qml
diff --git
a/psa_harmattan/feedingit/qml/main.qml
b/psa_harmattan/feedingit/qml/main.qml
index
973bbdb
..
866b44e
100644
(file)
--- 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();
+ }
+ }
+ }
+ }
}