summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-09 08:19:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-09 08:33:37 -0700
commit37e08d5e2518a7345990cdd98bdc5e0b57338f0c (patch)
tree8696a89306d86cc908c23107c0251fe609dfadd1 /qt-ui
parentd0754138a46bd23da4dfe50d7d2337a19a6a0843 (diff)
downloadsubsurface-4.5.5.tar.gz
Give git progress dialog a chance to actually display somethingv4.5.5
The UI only runs when the main thread pauses, but the main thread is busy doing the git update. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 9a7490576..26b1fbcee 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -62,6 +62,7 @@ extern "C" int updateProgress(int percent)
{
if (progressDialog)
progressDialog->setValue(percent);
+ qApp->processEvents();
return progressDialogCanceled;
}