Oops, set the maximum value on the progress bars properly

This commit is contained in:
David Sansome 2012-12-28 00:38:25 +11:00
parent c15059e161
commit e1323e9cf4

View File

@ -119,6 +119,7 @@ void CrashSender::RedirectFinished() {
void CrashSender::UploadProgress(qint64 bytes, qint64 total) {
printf("Uploaded %lld of %lld bytes\n", bytes, total);
progress_->setMaximum(total);
progress_->setValue(bytes);
}