forked from lubuwest/Friendiqa
v0.5.3 events and indentation
This commit is contained in:
parent
575c1b0e1e
commit
18c7255b91
103 changed files with 1601 additions and 1906 deletions
|
@ -12,11 +12,17 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function startSyncTimer(interval){
|
||||
syncTimer.interval=interval*60000;
|
||||
//print("synctimer interval "+syncTimer.interval)
|
||||
syncTimer.start()
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
if (root.globaloptions.hasOwnProperty("syncinterval") && root.globaloptions.syncinterval !=null && root.globaloptions.syncinterval !=0){
|
||||
syncTimer.interval=root.globaloptions.syncinterval*60000;
|
||||
syncTimer.start()
|
||||
startSyncTimer(root.globaloptions.syncinterval)
|
||||
}
|
||||
root.updateSyncinterval.connect(startSyncTimer)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue