diff data/model/FFTModel.h @ 360:ac300d385ab2

* Various fixes to object lifetime management, particularly in the spectrum layer and for notification of main model deletion. The main purpose of this is to improve the behaviour of the spectrum, but I think it may also help with #1840922 Various crashes in Layer Summary window.
author Chris Cannam
date Wed, 23 Jan 2008 15:43:27 +0000
parents 700cd3350391
children 7aa1de571880
line wrap: on
line diff
--- a/data/model/FFTModel.h	Tue Jan 22 23:11:48 2008 +0000
+++ b/data/model/FFTModel.h	Wed Jan 23 15:43:27 2008 +0000
@@ -167,6 +167,9 @@
 
     QString getTypeName() const { return tr("FFT"); }
 
+public slots:
+    void sourceModelAboutToBeDeleted();
+
 private:
     FFTModel(const FFTModel &); // not implemented
     FFTModel &operator=(const FFTModel &); // not implemented