diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-09 08:19:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-09 08:33:37 -0700 |
commit | 37e08d5e2518a7345990cdd98bdc5e0b57338f0c (patch) | |
tree | 8696a89306d86cc908c23107c0251fe609dfadd1 /qt-ui | |
parent | d0754138a46bd23da4dfe50d7d2337a19a6a0843 (diff) | |
download | subsurface-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.cpp | 1 |
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; } |