1
0
Fork 0

Launcher: ensure cache rebuild dialog stays open.

Disable the auto-close behaviour, which was causing us to end the
rebuild too early, and then corrupt the DB
This commit is contained in:
James Turner 2020-05-18 11:46:17 +01:00
parent d8b778a59e
commit 645548cbcc

View file

@ -107,6 +107,8 @@ void initNavCache()
| Qt::MSWindowsFixedSizeDialogHint);
rebuildProgress.setWindowModality(Qt::WindowModal);
rebuildProgress.setMinimumWidth(600);
rebuildProgress.setAutoReset(true);
rebuildProgress.setAutoClose(false);
rebuildProgress.show();
QTimer updateTimer;