diff main/OSCHandler.cpp @ 232:99e0dfd3ea75

* 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 b5a2428f647b
children 842745edded8
line wrap: on
line diff
--- a/main/OSCHandler.cpp	Wed Jan 23 11:38:34 2008 +0000
+++ b/main/OSCHandler.cpp	Wed Jan 23 15:43:27 2008 +0000
@@ -281,9 +281,9 @@
                               << "type " << str.toStdString() << std::endl;
                 } else {
 
-                    PaneConfiguration configuration(type,
-                                                    getMainModel(),
-                                                    channel);
+                    LayerConfiguration configuration(type,
+                                                     getMainModel(),
+                                                     channel);
                     
                     addPane(configuration,
                             tr("Add %1 Pane")