Fixed progress under Qt which always cancelled the job