old code would compare QTime == QTime() every second which might not trigger if e.g. milliseconds don't match. New code checks the interval between the last check and the current one.
old code would compare QTime == QTime() every second which might not trigger if e.g. milliseconds don't match. New code checks the interval between the last check and the current one.