diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 12:17:24 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-07 12:17:24 -0700 |
commit | 0ce59e5205f2f37f514f9a6f5b03db0e242406b1 (patch) | |
tree | b257187c3805bc6edd67439aca805ec5f095d592 /qt-ui | |
parent | 704c2cb22585673f1162f7a437dbc28abcb3309c (diff) | |
download | subsurface-0ce59e5205f2f37f514f9a6f5b03db0e242406b1.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index bbe62c47a..3bdc06cad 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -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) |