Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 458:ea30a8c4cb93 simple-fft-model
Gut the old code, but don't replace it yet (so nothing will link yet)
author | Chris Cannam |
---|---|
date | Fri, 12 Jun 2015 14:51:46 +0100 |
parents | 549f77216048 |
children | 74d575708e06 4480b031fe38 |
comparison
equal
deleted
inserted
replaced
457:3485d324c172 | 458:ea30a8c4cb93 |
---|---|
57 #include "data/fileio/MIDIFileWriter.h" | 57 #include "data/fileio/MIDIFileWriter.h" |
58 #include "data/fileio/BZipFileDevice.h" | 58 #include "data/fileio/BZipFileDevice.h" |
59 #include "data/fileio/FileSource.h" | 59 #include "data/fileio/FileSource.h" |
60 #include "data/fileio/AudioFileReaderFactory.h" | 60 #include "data/fileio/AudioFileReaderFactory.h" |
61 #include "rdf/RDFImporter.h" | 61 #include "rdf/RDFImporter.h" |
62 | |
63 #include "data/fft/FFTDataServer.h" | |
64 | 62 |
65 #include "base/RecentFiles.h" | 63 #include "base/RecentFiles.h" |
66 | 64 |
67 #include "base/PlayParameterRepository.h" | 65 #include "base/PlayParameterRepository.h" |
68 #include "base/XmlExportable.h" | 66 #include "base/XmlExportable.h" |
3337 // SVDEBUG << "MainWindowBase::modelAboutToBeDeleted(" << model << ")" << endl; | 3335 // SVDEBUG << "MainWindowBase::modelAboutToBeDeleted(" << model << ")" << endl; |
3338 if (model == m_viewManager->getPlaybackModel()) { | 3336 if (model == m_viewManager->getPlaybackModel()) { |
3339 m_viewManager->setPlaybackModel(0); | 3337 m_viewManager->setPlaybackModel(0); |
3340 } | 3338 } |
3341 m_playSource->removeModel(model); | 3339 m_playSource->removeModel(model); |
3342 FFTDataServer::modelAboutToBeDeleted(model); | |
3343 } | 3340 } |
3344 | 3341 |
3345 void | 3342 void |
3346 MainWindowBase::paneDeleteButtonClicked(Pane *pane) | 3343 MainWindowBase::paneDeleteButtonClicked(Pane *pane) |
3347 { | 3344 { |