<div dir="ltr"><div><div>Thanks Martin,<br><br></div>your trick works actually really well.<br></div>I had to create another timer for the Cover but that is no issue.<br></div><div class="gmail_extra"><br clear="all"><div>

<br>// Peter Pykäläinen</div>
<br><br><div class="gmail_quote">On 29 April 2014 07:23,  <span dir="ltr"><<a href="mailto:peter.pykalainen@gmail.com" target="_blank">peter.pykalainen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thank you.<br>
Will have a look at that.<br>
<br>
<a href="mailto:martin.grimme@gmail.com">martin.grimme@gmail.com</a> kirjoitti Tue Apr 29 2014 07:12:45 GMT+0300 (EEST):<br>
<div class="HOEnZb"><div class="h5">> Hi,<br>
><br>
> Am Mon Apr 28 2014 23:11:58 GMT+0200 (CEST) schrieb Peter Pykäläinen:<br>
> > Thank you for you response.<br>
> ><br>
> > Unfortunately no, since I need to show info on the cover.<br>
> ><br>
><br>
> I think, for just showing info on the cover, giving the CPU sleep deprivation is overkill.<br>
><br>
> You can make the timer's running property depend on Qt.application.active (app is not minimized and screen is not locked) and the Cover.Active signal of the CoverBackground element (Cover is visible and screen is not locked).<br>


> I'm watching these two properties in Tidings, for example, to keep the elapsed time labels up to date.<br>
><br>
> Martin<br>
><br>
> --<br>
> Gesendet von meinem Jolla<br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing lis<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
<br>
// Peter Pykäläinen<br>
Lähetetty Jollastani</div></div></blockquote></div><br></div>