Hi, Wow, doing such "parentboolean" trick is ugly. Anyway I will give it a try...
About "Where did you learn that? " - nowhere, I've invented it! :D It just looks prettier to me, nothing more, nothing less. Since the code is done by me, for me, for a hobby stuff, I do not really bother making in appealing for anybody else... ;) But, please, do not take such things too seriously. Once upon a time I had to make code naming and formatting guide for quite bunch of people and single thing I've learnt form it is I never ever try to do it again... :D 2016-01-30 10:55 GMT+01:00 <jollail...@gmail.com>: > I'm also experiencing this. Adding > running: boolenAtParentOrSomething > solved it for me. > > Btw, your code formatting is really weird. Where did you learn that? I > understand your way of doing blocks, but that "something : true" > spacing freaks me out :P > > Zoltán Lutor kirjoitti pe tammikuuta 29 22:58:07 2016 GMT+0200: > > Hi, > > > > I used a repeating time and after calling stop() method it still > triggers. > > Both of debug logs are visible - triggering related one is still coming > > after calling stop() > > > > Is it bug or some weird feature? ;) > > > > > > Timer > > > > { > > > > id : refreshTimer > > > > interval : noRefresh // <- readonly property of parent > item > > > > running : false > > > > triggeredOnStart: false > > > > repeat : true > > > > > > onIntervalChanged: { if ( noRefresh === interval ) { > > refreshTimer.stop() } } > > > > onTriggered: { console.debug("!!! Triggered !!!"); } > > > > onRunningChanged: { console.debug("Running: ", running) } > > > > } > > > > -- > Lähetetty Jollastani > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to > devel-unsubscr...@lists.sailfishos.org
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org