changeset 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 902756b8d8b1
children 91d821455fa5 2a340928bce1
files .hgsubstate main/main.cpp
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Wed Aug 13 16:43:15 2014 +0100
+++ b/.hgsubstate	Wed Aug 13 16:45:14 2014 +0100
@@ -1,5 +1,5 @@
 d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay
 879bdc878826bebec67130326f99397c430419b1 sv-dependency-builds
-ff43500426da7ff6420edbb4ae10335b5301f15d svapp
+f747be6743ab92889ead8e57df90a6d352b56a74 svapp
 f5810f1270ae64d2a814c55f7d56cc7cfe11192b svcore
-8bb9320f78a420033e26bc62cd0caa2588af5056 svgui
+831188672987a0c2e6288d1cd5c34cd9d7385fcd svgui
--- 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()));
     }