diff main/main.cpp @ 763:7374badd5f9e

Set parents for various dialogs (to avoid them hitting focus-stealing prevention)
author Chris Cannam
date Wed, 13 Aug 2014 16:45:14 +0100
parents ccf3749cbaea
children ce4d9e149086
line wrap: on
line diff
--- a/main/main.cpp	Wed Aug 13 16:43:15 2014 +0100
+++ b/main/main.cpp	Wed Aug 13 16:45:14 2014 +0100
@@ -21,6 +21,8 @@
 #include "base/PropertyContainer.h"
 #include "base/Preferences.h"
 #include "widgets/TipDialog.h"
+#include "widgets/InteractiveFileFinder.h"
+#include "svapp/framework/TransformUserConfigurator.h"
 #include "transform/TransformFactory.h"
 
 #include <QMetaType>
@@ -344,6 +346,8 @@
 
     MainWindow *gui = new MainWindow(audioOutput, oscSupport);
     application.setMainWindow(gui);
+    InteractiveFileFinder::setParentWidget(gui);
+    TransformUserConfigurator::setParentWidget(gui);
     if (splash) {
         QObject::connect(gui, SIGNAL(hideSplash()), splash, SLOT(hide()));
     }