[REVIEW] removing (probably) unnecessary condition in dataUpdated(...)

Aaron J. Seigo aseigo at kde.org
Fri Apr 11 11:52:00 CEST 2008


On Friday 11 April 2008, Rafał Miłecki wrote:
> As far as I understand DataEngine it takes updateIntreval parameter in
> connectSource which we use (we put 1sec or 60secs). As the result we

except that we call it with 500ms updates in the 1 second case to get reliable 
to-the-second resolution. if we added AlignToSecond to dataengine (we have 
alignments for minutes and hours only) we could probably get rid of the 500ms 
hack.

in the meantime, that if() condition cuts the number of repaints in the clock 
by half in the show seconds case.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080411/1202c6cb/attachment.pgp 


More information about the Panel-devel mailing list