summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-07 12:17:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-07 12:17:24 -0700
commit0ce59e5205f2f37f514f9a6f5b03db0e242406b1 (patch)
treeb257187c3805bc6edd67439aca805ec5f095d592 /qt-ui
parent704c2cb22585673f1162f7a437dbc28abcb3309c (diff)
downloadsubsurface-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.cpp2
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)