mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
d0754138a4
commit
37e08d5e25
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ extern "C" int updateProgress(int percent)
|
|||
{
|
||||
if (progressDialog)
|
||||
progressDialog->setValue(percent);
|
||||
qApp->processEvents();
|
||||
return progressDialogCanceled;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue