Qt: reset rate display at new input