// Qt needs the progress values to fit inside an int. If they would
// not, scale the current and max values down until they do.
// Qt needs the progress values to fit inside an int. If they would
// not, scale the current and max values down until they do.