@@ -139,9 +139,6 @@ MainWindow::MainWindow(bool statupInTray,
139139 ui->info ->setAnimatedText (QString (" %1 connected - Preset loaded automatically" ).arg (device), true );
140140 });
141141
142- connect (_audioService, &IAudioService::eelCompilationStarted, _eelEditor, &EELEditor::onCompilerStarted);
143- connect (_audioService, &IAudioService::eelCompilationFinished, _eelEditor, &EELEditor::onCompilerFinished);
144- connect (_audioService, &IAudioService::eelOutputReceived, _eelEditor, &EELEditor::onConsoleOutputReceived);
145142 connect (_audioService, &IAudioService::outputDeviceChanged, &PresetManager::instance (), &PresetManager::onOutputDeviceChanged);
146143
147144 // Convolver file info
@@ -150,12 +147,8 @@ MainWindow::MainWindow(bool statupInTray,
150147 onConvolverInfoChanged (ciArgs);
151148 connect (_audioService, &IAudioService::convolverInfoChanged, this , &MainWindow::onConvolverInfoChanged);
152149
153- // TODO
154- QTimer *timer = new QTimer (this );
155- connect (timer, SIGNAL (timeout ()), _audioService, SLOT (enumerateLiveprogVariables ()));
156- timer->start (200 );
157-
158- connect (_eelEditor, &EELEditor::executionRequested, [this ](QString path){
150+ _eelEditor->attachHost (_audioService);
151+ connect (_eelEditor, &EELEditor::executionRequested, [this ](QString path){
159152 if (QFileInfo::exists (path) && QFileInfo (path).isFile ())
160153 {
161154 ui->liveprog ->setCurrentLiveprog (path);
0 commit comments