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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/mainwindow.cpp b/src/qt/mainwindow.cpp
index 12ddf3e..49cc09f 100644
--- a/src/qt/mainwindow.cpp
+++ b/src/qt/mainwindow.cpp
@@ -91,9 +91,11 @@ void MainWindow::workerResult(const enum Worker::Results_t& result)
break;
case Worker::RESULT_UPDATE_TEXT:
+ pthread_mutex_lock(&worker->textMutex);
ui->progressBar->setValue(worker->progress);
ui->infoLabel->setText(worker->infoText);
worker->infoText.clear();
+ pthread_mutex_unlock(&worker->textMutex);
break;
case Worker::RESULT_IS_INSTALLED: