Qt: Fixed issue with progress box