comparison widgets/PropertyBox.cpp @ 728:596414d20ef0 tonioni

Fix failure to delete property stack when pane is deleted (sometimes). Fixes Tony crash bug #881, needs to go in SV as well.
author Chris Cannam
date Tue, 04 Mar 2014 15:28:32 +0000
parents 461a600ff26d
children b6dc57688c72
comparison
equal deleted inserted replaced
727:4eb741d63161 728:596414d20ef0
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;
561 } 561 }
562 562
563 void 563 void
564 PropertyBox::unitDatabaseChanged() 564 PropertyBox::unitDatabaseChanged()
565 { 565 {
566 #ifdef DEBUG_PROPERTY_BOX
566 cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << endl; 567 cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << endl;
568 #endif
567 blockSignals(true); 569 blockSignals(true);
568 570
569 // cerr << "my container is " << m_container << endl; 571 // cerr << "my container is " << m_container << endl;
570 // cerr << "my container's name is... " << endl; 572 // cerr << "my container's name is... " << endl;
571 // cerr << m_container->objectName() << endl; 573 // cerr << m_container->objectName() << endl;