mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -93,8 +93,8 @@ void DownloadFromDCWidget::updateProgressBar()
|
||||||
ui.progressBar->setFormat(progress_bar_text);
|
ui.progressBar->setFormat(progress_bar_text);
|
||||||
} else {
|
} else {
|
||||||
ui.progressBar->setFormat("%p%");
|
ui.progressBar->setFormat("%p%");
|
||||||
ui.progressBar->setValue(progress_bar_fraction * 100);
|
|
||||||
}
|
}
|
||||||
|
ui.progressBar->setValue(progress_bar_fraction * 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DownloadFromDCWidget::updateState(states state)
|
void DownloadFromDCWidget::updateState(states state)
|
||||||
|
|
Loading…
Add table
Reference in a new issue