From 37e08d5e2518a7345990cdd98bdc5e0b57338f0c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 9 Apr 2016 08:19:11 -0700 Subject: Give git progress dialog a chance to actually display something The UI only runs when the main thread pauses, but the main thread is busy doing the git update. Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3-70-g09d2