diff main/MainWindow.cpp @ 357:dbc1d2d72cf1

* Reinstate configure dialog for transforms (closes #16)
author Chris Cannam
date Fri, 08 Oct 2010 11:21:39 +0100
parents 2260737068b5
children 8b3038e55d50 487d208fadb3
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Oct 08 10:53:03 2010 +0100
+++ b/main/MainWindow.cpp	Fri Oct 08 11:21:39 2010 +0100
@@ -26,6 +26,7 @@
 #include "data/model/Labeller.h"
 #include "data/osc/OSCQueue.h"
 #include "framework/Document.h"
+#include "framework/TransformUserConfigurator.h"
 #include "view/ViewManager.h"
 #include "base/Preferences.h"
 #include "layer/WaveformLayer.h"
@@ -3301,6 +3302,8 @@
     if (endFrame > startFrame) duration = endFrame - startFrame;
     else startFrame = 0;
 
+    TransformUserConfigurator configurator;
+
     ModelTransformer::Input input = ModelTransformerFactory::getInstance()->
         getConfigurationForTransform
         (transform,
@@ -3308,7 +3311,8 @@
          defaultInputModel,
          m_playSource,
          startFrame,
-         duration);
+         duration,
+         &configurator);
 
     if (!input.getModel()) return;