Oops, set the maximum value on the progress bars properly
This commit is contained in:
parent
c15059e161
commit
e1323e9cf4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user