sched: fixed a timer bug since Qt 5

Not sure the exact cause, maybe a Qt behaviour change (including
possible optimisation making the bug already present in Qt 4 but less
likely to occur).