PATCH: javascript setTimeout over midnight bug

Harri Porten porten at froglogic.com
Sat Mar 4 07:55:06 GMT 2006


Hi!

On Sat, 4 Mar 2006, Charles Samuels wrote:

> The attached patch to 3.5 branch fixes a buggle in which timeouts occur much
> sooner than they should if timeout goes over midnight.

Have you considered using QDateTime as a member variable instead of
seperate QDate and QTime? For some calculations you might need to pick
them apart with date() and time() again. But at least the class already
has e.g. an operator<() made for you.

Harri.





More information about the kfm-devel mailing list