Even if there is progress text, still set the progress bar percentage
I don't understand why we wouldn't set the percentage if we displayed text there as well. This looks much better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
704c2cb225
commit
0ce59e5205
@ -93,8 +93,8 @@ void DownloadFromDCWidget::updateProgressBar()
|
||||
ui.progressBar->setFormat(progress_bar_text);
|
||||
} else {
|
||||
ui.progressBar->setFormat("%p%");
|
||||
ui.progressBar->setValue(progress_bar_fraction * 100);
|
||||
}
|
||||
ui.progressBar->setValue(progress_bar_fraction * 100);
|
||||
}
|
||||
|
||||
void DownloadFromDCWidget::updateState(states state)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user