Mercurial > hg > svgui
comparison widgets/PropertyBox.cpp @ 454:e2a40fdadd8c
Various fixes:
* Fix handling of HTTP redirects (avoiding crashes... I hope)
* Fix failure to delete FFT models when a feature extraction model
transformer was abandoned (also a cause of crashes in the past)
* Fix deadlock when said transform was abandoned before its source
model was ready because the session was being cleared (and so the
source model would never be ready)
author | Chris Cannam |
---|---|
date | Fri, 28 Nov 2008 13:36:13 +0000 |
parents | 0bcb449d15f4 |
children | 035d62c4cddf |
comparison
equal
deleted
inserted
replaced
453:7bec0807d7ba | 454:e2a40fdadd8c |
---|---|
49 | 49 |
50 #include <cassert> | 50 #include <cassert> |
51 #include <iostream> | 51 #include <iostream> |
52 #include <cmath> | 52 #include <cmath> |
53 | 53 |
54 //#define DEBUG_PROPERTY_BOX 1 | 54 #define DEBUG_PROPERTY_BOX 1 |
55 | 55 |
56 PropertyBox::PropertyBox(PropertyContainer *container) : | 56 PropertyBox::PropertyBox(PropertyContainer *container) : |
57 m_container(container), | 57 m_container(container), |
58 m_showButton(0), | 58 m_showButton(0), |
59 m_playButton(0) | 59 m_playButton(0) |
556 } | 556 } |
557 | 557 |
558 void | 558 void |
559 PropertyBox::unitDatabaseChanged() | 559 PropertyBox::unitDatabaseChanged() |
560 { | 560 { |
561 std::cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << std::endl; | |
561 blockSignals(true); | 562 blockSignals(true); |
562 | 563 |
563 PropertyContainer::PropertyList properties = m_container->getProperties(); | 564 PropertyContainer::PropertyList properties = m_container->getProperties(); |
564 for (size_t i = 0; i < properties.size(); ++i) { | 565 for (size_t i = 0; i < properties.size(); ++i) { |
565 if (m_container->getPropertyType(properties[i]) == | 566 if (m_container->getPropertyType(properties[i]) == |