diff main/MainWindow.cpp @ 91:7005d8a9f0e0

* Attempt to improve management of FFT models that are not currently in use. I think these are some problems with this at the moment.
author Chris Cannam
date Fri, 19 Jan 2007 14:38:57 +0000
parents 51ea003f8f99
children 14cc0a78f340
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Jan 19 13:13:14 2007 +0000
+++ b/main/MainWindow.cpp	Fri Jan 19 14:38:57 2007 +0000
@@ -49,6 +49,7 @@
 #include "data/fileio/CSVFileWriter.h"
 #include "data/fileio/BZipFileDevice.h"
 #include "data/fileio/RemoteFile.h"
+#include "data/fft/FFTDataServer.h"
 #include "base/RecentFiles.h"
 #include "transform/TransformFactory.h"
 #include "base/PlayParameterRepository.h"
@@ -3641,6 +3642,7 @@
 {
 //    std::cerr << "MainWindow::modelAboutToBeDeleted(" << model << ")" << std::endl;
     m_playSource->removeModel(model);
+    FFTDataServer::modelAboutToBeDeleted(model);
 }
 
 void