Launcher: disable Close button on the initial progress dialog
This commit is contained in:
parent
34fd51d35c
commit
0381ba8468
1 changed files with 6 additions and 1 deletions
|
@ -90,7 +90,12 @@ void initNavCache()
|
|||
if (cache->isRebuildRequired()) {
|
||||
QProgressDialog rebuildProgress(baseLabel,
|
||||
QString() /* cancel text */,
|
||||
0, 100);
|
||||
0, 100, Q_NULLPTR,
|
||||
Qt::Dialog
|
||||
| Qt::CustomizeWindowHint
|
||||
| Qt::WindowTitleHint
|
||||
| Qt::WindowSystemMenuHint
|
||||
| Qt::MSWindowsFixedSizeDialogHint);
|
||||
rebuildProgress.setWindowModality(Qt::WindowModal);
|
||||
rebuildProgress.show();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue