comparison widgets/PropertyBox.cpp @ 729:25b3d5802e6e

Fix failure to delete property stack when pane is deleted (sometimes)
author Chris Cannam
date Tue, 04 Mar 2014 15:32:28 +0000
parents 692a8b9804fe
children b6dc57688c72
comparison
equal deleted inserted replaced
725:c27a3604fe6f 729:25b3d5802e6e
115 115
116 void 116 void
117 PropertyBox::populateViewPlayFrame() 117 PropertyBox::populateViewPlayFrame()
118 { 118 {
119 #ifdef DEBUG_PROPERTY_BOX 119 #ifdef DEBUG_PROPERTY_BOX
120 cerr << "PropertyBox(" << m_container << ")::populateViewPlayFrame" << endl; 120 cerr << "PropertyBox[" << this << ":" << m_container << "]::populateViewPlayFrame" << endl;
121 #endif 121 #endif
122 122
123 if (m_viewPlayFrame) { 123 if (m_viewPlayFrame) {
124 delete m_viewPlayFrame; 124 delete m_viewPlayFrame;
125 m_viewPlayFrame = 0; 125 m_viewPlayFrame = 0;
559 } 559 }
560 560
561 void 561 void
562 PropertyBox::unitDatabaseChanged() 562 PropertyBox::unitDatabaseChanged()
563 { 563 {
564 #ifdef DEBUG_PROPERTY_BOX
564 cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << endl; 565 cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << endl;
566 #endif
565 blockSignals(true); 567 blockSignals(true);
566 568
567 // cerr << "my container is " << m_container << endl; 569 // cerr << "my container is " << m_container << endl;
568 // cerr << "my container's name is... " << endl; 570 // cerr << "my container's name is... " << endl;
569 // cerr << m_container->objectName() << endl; 571 // cerr << m_container->objectName() << endl;