GProgressDialog Mac QT 5.3.1 fixups

.. being more careful with modality and mainwindow
This commit is contained in:
Mark Liversedge
2014-06-30 18:03:44 +01:00
parent 224d1d0a4b
commit a551335b6d
5 changed files with 11 additions and 6 deletions

View File

@@ -109,6 +109,7 @@ MainWindow::MainWindow(const QDir &home)
*--------------------------------------------------------------------*/
setAttribute(Qt::WA_DeleteOnClose);
mainwindows.append(this); // add us to the list of open windows
init = false;
#ifdef Q_OS_MAC
head = NULL; // early resize event causes a crash
#endif
@@ -713,6 +714,8 @@ MainWindow::MainWindow(const QDir &home)
// catch config changes
connect(context, SIGNAL(configChanged()), this, SLOT(configChanged()));
configChanged();
init = true;
}
/*----------------------------------------------------------------------