Qt: calibrate averaging smoothing factor