1
0
Fork 0

Launcher: disable Close button on the initial progress dialog

This commit is contained in:
Alessandro Menti 2016-04-13 16:15:27 +02:00 committed by James Turner
parent 34fd51d35c
commit 0381ba8468

View file

@ -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();