mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
GProgressDialog Mac QT 5.3.1 fixups
.. being more careful with modality and mainwindow
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user