aboutsummaryrefslogtreecommitdiff
path: root/src/qt/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/mainwindow.cpp')
-rw-r--r--src/qt/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/mainwindow.cpp b/src/qt/mainwindow.cpp
index 35151ca..9d1ea85 100644
--- a/src/qt/mainwindow.cpp
+++ b/src/qt/mainwindow.cpp
@@ -97,6 +97,7 @@ void MainWindow::workerResult(const enum Worker::Results_t& result)
case Worker::RESULT_UPDATE_TEXT:
ui->progressBar->setValue(worker->progress);
ui->infoLabel->setText(worker->infoText);
+ worker->infoText.clear();
break;
case Worker::RESULT_IS_INSTALLED:
@@ -233,7 +234,7 @@ void MainWindow::openWebsite()
void MainWindow::resetProgress()
{
- ui->progressBar->setFormat("");
+ ui->progressBar->setFormat("%p%");
ui->progressBar->setValue(-1);
}